Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th May 2009, 20:32
anushanw anushanw is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error: .htaccess options not allowed here

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 71.43.133.170] /var/www/web10/web/.htaccess: Options not allowed here

can some one please help me
Reply With Quote
Sponsored Links
  #2  
Old 12th May 2009, 03:32
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
Default

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.
Reply With Quote
  #3  
Old 16th May 2009, 19:23
shrek shrek is offline
Junior Member
 
Join Date: Apr 2009
Posts: 18
Thanks: 0
Thanked 4 Times in 1 Post
 
Default

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.
Code:
 <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>
361
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>
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp is very slow and asks for user/passwd continuously chico58 Installation/Configuration 7 8th October 2008 12:43
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
how to enable Mod Rewrite AngelDrago Installation/Configuration 9 10th August 2007 23:20
Beyrl and Ubuntu 7.04 Toriacht Desktop Operation 17 23rd June 2007 21:40
Ispconfig and Virtuemart shajazzi Installation/Configuration 7 21st February 2006 20:25


All times are GMT +2. The time now is 20:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.