0

I have a dev box running and i changed the path of the vhost from /home/username/www to /home/username/public_html.

Retarted apache and now the site is giving me a 403 when i visit the site and php isnt working now either.

The server is centos 5.5 x64, php is 5.3.5

Any help is appriciated.

Cheers.

Kyle Hudson
  • 202
  • 2
  • 11

2 Answers2

1

I am referring the portions between "

<VirtualHost 10.0.2.8:80>

and

</VirtualHost>

Document root and "Directory" directive are different.

DocumentRoot /home/username/public_html
<Directory /home/mobile/www>

Make that same.

Also make sure that there is at least one file in DocumentRoot with any of the following name

index.html index.htm index.php index.php4 index.php5
Suku
  • 2,036
  • 13
  • 15
0

Check acccess permission to this folder and to parent folder. Drfault permission to user's homedir in CentOS is 700 (rwx for owner, no access to any other user).

Paul Rudnitskiy
  • 413
  • 2
  • 5