![]() |
ISPConfig, Drupal, and .htaccess
I am trying to install Drupal for my website, but I am running into a problem. When I go to my website I get:
500 Internal Server Error I uploaded all the files for drupal, created the database, and edited the settings file for my site. Here is part of the log: Code:
error.logCode:
.htaccess |
At the end of your httpd.conf is a section like this:
Code:
<Directory /home/www/*/web>Then restart your apache webserver. |
Where is httpd.conf located?
I'm using the Ubuntu 5.04 Perfect Setup. |
Quote:
|
Thanks, that worked perfectly. Is it OK to leave the AllowOverride setting set to All, or should I set it to something else?
|
AllowOverride All means that all settings allowed in the vhost configuration can be overridden with .htaccess files. Thats insecure because your customers are able to change their apache configuration. Maybe you have a look at the apache.org website, there is a documentation what settings are allowed with allow override and you can decide which rights you want to give to your customers.
|
Hi jon335,
here's another thread that might be interesting for you: http://www.howtoforge.com/forums/showthread.php?t=38 It has nothing to do with your problem in this thread, but it has also to do with Drupal (and apache rewrite rules). :) In case you run into the same problems when playing around with Drupal... ;) |
I've got it !
The solution was to modify this file: /etc/apache2/apache2.conf <Directory /home/www/*/web> Options +Includes +FollowSymlinks -Indexes #===============HERE============== AllowOverride All #================================= Order allow,deny Allow from all <Files ~ "^\.ht"> Deny from all </Files> </Directory> Thank's all for your help (maybe there is a cleaner way to do that, lower risk without using "All" for AllowOverride options). |
Quote:
Code:
<Directory /usr/var/www/virtual/*/web> |
What's in your Apache error log?
|
| All times are GMT +2. The time now is 02:37. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.