Error: .htaccess options not allowed here

Discussion in 'Installation/Configuration' started by anushanw, May 11, 2009.

  1. anushanw

    anushanw New Member

    I have ISPconfig 2 installed on a debian lenny 5 system. I have about 3 sites running without a trouble at all. I wanted to add another site that is using phpmotion and it gave me a 500 internal server error.
    here's the error log details

    [Mon May 11 13:54:46 2009] [alert] [client] /var/www/web10/web/.htaccess: Options not allowed here

    can some one please help me
  2. _X_

    _X_ New Member

    take a look at /var/www/web10/web/.htaccess and see what is causing that error.

    or paste content of that htaccess file but delete info that is not needed if any.
  3. shrek

    shrek New Member

    You should edit /etc/apache2/apache2.conf, find lines
    and change lines AllowOverride to look as mine. Or you can add apache directives in apache (optional ) text box of website in panel if you wish to make only your sites to be able to change .htaccess file. OR simply add allowed options to allow override.
     <Directory /var/www/*/web>
    352     Options +Includes -Indexes
    353     AllowOverride All
    354    # AllowOverride Indexes AuthConfig Limit FileInfo
    355     Order allow,deny
    356     Allow from all
    357     <Files ~ "^\.ht">
    358     Deny from all
    359     </Files>
    360 </Directory>
    362 <Directory /var/www/*/user/*/web>
    363     Options +Includes -Indexes
    364     AllowOverride All
    365    # AllowOverride Indexes AuthConfig Limit FileInfo
    366     Order allow,deny
    367     Allow from all
    368     <Files ~ "^\.ht">
    369     Deny from all
    370     </Files>
    371 </Directory>

Share This Page