I have a client's website hosted on a shared Hetzner linux box where the web pages to be served are stored in the public_html/ in /usr/www/users/username and a few modules and include files are stored outside the webroot in /usr/home/username/includes. It seems however that the webserver cannot access any files in my includes directory and throws the error:
I have contacted Hetzner e-mail support however I really need to get the site up and their e-mail response is just too slow.
A support agent even tried to change the group of the includes directory to nobody, the group the web server runs under, however this surely wouldn't work right?
The files/folders in my home directory and in my public_html all have permissions 755/644, whilst my /usr/home/username directory has permissions 710 (u=rwx, g=x).
I would really appreciate any help with this as I can't get the assistance I need with hetzner e-mail support; it's like a ping-pong game which never ends.
Code:
*Warning*: require_once(/usr/home/username/includes/_config.inc.php)
[function.require-once <http://xxxxxxxxxxxx.co.za/function.require-once>]: failed to open stream:Permission denied in
*/usr/www/users/username/index.php* on line *3*
*Fatal error*: require_once() [function.require
<http://xxxxxxxxxxxx.co.za/function.require>]: Failed opening required
'/usr/home/username/includes/_config.inc.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
*/usr/www/users/username/index.php* on line *3
I have contacted Hetzner e-mail support however I really need to get the site up and their e-mail response is just too slow.
A support agent even tried to change the group of the includes directory to nobody, the group the web server runs under, however this surely wouldn't work right?
The files/folders in my home directory and in my public_html all have permissions 755/644, whilst my /usr/home/username directory has permissions 710 (u=rwx, g=x).
I would really appreciate any help with this as I can't get the assistance I need with hetzner e-mail support; it's like a ping-pong game which never ends.