htaccess changes

Discussion in 'Installation/Configuration' started by BriX, Feb 25, 2006.

  1. BriX

    BriX New Member

    I need to change AllowOverride option to All. I edited the allowoverride lines in httpd.conf but after a server restart when I try and view website another /var/www/web4/web/.htaccess: Options not allowed here line appears. The site is a phpnuke install. Is there some place I can find information on what conf files ISPconfig uses for what?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig uses only the httpd.conf, you will have to change the section:

    <Directory /home/www/*/web>
    Options +Includes +FollowSymlinks -Indexes
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all

    <Files ~ "^\.ht">
    Deny from all
    </Files>
    </Directory>

    to:

    <Directory /home/www/*/web>
    Options +Includes +FollowSymlinks -Indexes
    AllowOverride All
    Order allow,deny
    Allow from all

    <Files ~ "^\.ht">
    Deny from all
    </Files>
    </Directory>
     
  3. falko

    falko Super Moderator Howtoforge Staff

    In your case it would be:

    Code:
    <Directory [B][COLOR="Red"]/var/www[/COLOR][/B]/*/web>
        Options +Includes +FollowSymlinks -Indexes
        AllowOverride All
        Order allow,deny
        Allow from all
    
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
     

Share This Page