Not sure exactly when this started but, to my knowlege, I haven't done anything with my web server configs in a very long time. This morming, when I went to visit one of the four sites hosted on my server, I got this:
Forbidden
You don't have permission to access / on this server.
Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 with Suhosin-Patch Server at golf1500.com Port 80
When I checked the server error logs, I see this:
[Mon Nov 28 10:47:27 2011] [crit] [client 208.105.236.250] (13)Permission denied: /Volumes/Server/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Now, clearly it's trying to find the site in the root folder of that drive when, for example, that site's document root should be:
/Volumes/Server/Web/Golf1500_Site
I checked the contents of 0000_any_80_golf1500.com.conf and the DocumentRoot is still correctly defined there. Again, there are four sites hosted on this server and I get the same problem with all four of them, so clearly some global configuration has gotten changed or corrupted but I'm not sure what to look for.
Please note: virtual hosting was properly set up and working on this server, and I successfully accessed two of the hosted sites as early as a week ago Friday. I've gone over the virtual hosting stuff I can find and don't see any problems.
I've also tried repairing disk permissions and verifying the system disk, no effect. If I turn off the web server I get to the default Lion Server page, and as soon as I turn the server on again all the URLs try to access root of the volume the web sites are installed on.
Still baffled.
Any ideas?
Many thanks in advance!
Forbidden
You don't have permission to access / on this server.
Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 with Suhosin-Patch Server at golf1500.com Port 80
When I checked the server error logs, I see this:
[Mon Nov 28 10:47:27 2011] [crit] [client 208.105.236.250] (13)Permission denied: /Volumes/Server/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Now, clearly it's trying to find the site in the root folder of that drive when, for example, that site's document root should be:
/Volumes/Server/Web/Golf1500_Site
I checked the contents of 0000_any_80_golf1500.com.conf and the DocumentRoot is still correctly defined there. Again, there are four sites hosted on this server and I get the same problem with all four of them, so clearly some global configuration has gotten changed or corrupted but I'm not sure what to look for.
Please note: virtual hosting was properly set up and working on this server, and I successfully accessed two of the hosted sites as early as a week ago Friday. I've gone over the virtual hosting stuff I can find and don't see any problems.
I've also tried repairing disk permissions and verifying the system disk, no effect. If I turn off the web server I get to the default Lion Server page, and as soon as I turn the server on again all the URLs try to access root of the volume the web sites are installed on.
Still baffled.
Any ideas?
Many thanks in advance!