Hello there:
Please help me here as am kind of stranded:
Through the domain, http://edit.jolis.net (/home/httpd/vhosts/jolis.net/subdomains/edit/httpdocs/) I need to list directory contents from a domain http://otherdomain.org hosted on the same server
in simplest terms I get a permission error when I run the code below:
[PHP]
include ("/home/httpd/vhosts/otherdomain.org/httpdocs/images");
[/PHP]
here is the error I get:
Warning: main(): open_basedir restriction in effect. File(/home/httpd/vhosts/kampalacentral.org/httpdocs/images) is not within the allowed path(s): (/home/httpd/vhosts/jolis.net/subdomains/edit/httpdocs:/tmp) in /home/httpd/vhosts/jolis.net/subdomains/edit/httpdocs/test.php on line 2
Warning: main(/home/httpd/vhosts/kampalacentral.org/httpdocs/images): failed to open stream: Operation not permitted in /home/httpd/vhosts/jolis.net/subdomains/edit/httpdocs/test.php on line 2
Warning: main(): Failed opening '/home/httpd/vhosts/kampalacentral.org/httpdocs/images' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/jolis.net/subdomains/edit/httpdocs/test.php on line 2
The error above may be also viewed through: http://edit.jolis.net/test.php
To me this seems to be an apache permission problem ... please help me on how to sort this mess out.
Thanks Alot
Vien