H
HennoR
Guest
Hi!
Using Plesk Panel 10.1.1
I created a subdomain inside of my main-domain.
Plesk created /var/www/vhosts/xxx.xx/xxx/ as http-root for this one. (x-chars are placeholders here)
I created a php script inside of this directory. - Site is viewable.
inside of this script i'm using the php function "file_exists();".
if i use "file_exists(/var/www/vhosts/xxx.xx/xxx/);", it works fine.
but if i use "file_exists(/var/www/vhosts/xxx.xx/yyy/);", it returns false!
yyy exists and has the complete same rights like xxx!
so.. why it returns false? what have u done with www-data?
i ever used plesk the correct way, never modified apache config files manually or anything like that.
Using Plesk Panel 10.1.1
I created a subdomain inside of my main-domain.
Plesk created /var/www/vhosts/xxx.xx/xxx/ as http-root for this one. (x-chars are placeholders here)
I created a php script inside of this directory. - Site is viewable.
inside of this script i'm using the php function "file_exists();".
if i use "file_exists(/var/www/vhosts/xxx.xx/xxx/);", it works fine.
but if i use "file_exists(/var/www/vhosts/xxx.xx/yyy/);", it returns false!
yyy exists and has the complete same rights like xxx!
so.. why it returns false? what have u done with www-data?
i ever used plesk the correct way, never modified apache config files manually or anything like that.