I've recently installed XAMPP on Mac OSX Snow Leopard. I changed my DocumentRoot to '/Users/MyName/Sites' in the httpd.conf file because I originally had MAMP installed. All sites located within my 'Sites' folder work fine however, when I tried to load a Drupal site I get :
- Code: Select all
"Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
localhost
Fri May 28 13:59:08 2010
Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1"
I checked the error log files and I get:
- Code: Select all
[alert] [client ::1] /Users/MyName/Sites/drupal/.htaccess: Options not allowed here
So I changed the AllowOverride directive in the httpd.conf file to:
- Code: Select all
<Directory "/Users/MyName/Sites">
AllowOverride All
</Directory>
I saved the file, restarted Apache, etc. and still I'm getting the same error. Is there another directive in the other config files that overrides this directive? Just wondering. (BTW, I also tried "AllowAccessName .htaccess" but it kept reporting syntax errors before I restarted Apache.) I'm a bit of a noob when it comes to Apache, so any help would be much appreciated. Thanks.