.htaccess stopped working

Discussion in 'Installation/Configuration' started by tgansert, Jun 1, 2006.

  1. tgansert

    tgansert New Member

    Since I installed ISPConfig, my .htaccess files are no longer effectual.

    There is no part of the .htaccess that is applied in any case and it has compromised (albeit loose) security.

    Is there something I can do about this? Let me know if you need further info.

    Thanks -
     
  2. falko

    falko Super Moderator Howtoforge Staff

    At the end of your main Apache configuration file (httpd.conf or apache2.conf) you find some entries made by the ISPConfig installer. They are referring to the directories where ISPConfig installs web sites. You might have to change some options there.
     
  3. tgansert

    tgansert New Member

    Fixed. In /etc/apache/httpd.conf:

    was:
    Code:
    <Directory />
        Options SymLinksIfOwnerMatch
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    
    #<Directory /var/www/>
    #    Options Indexes Includes FollowSymLinks MultiViews
    #    AllowOverride All
    #    Order allow,deny
    #    Allow from all
    #</Directory>
    
    is now:
    Code:
    <Directory />
        Options SymLinksIfOwnerMatch
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    
    <Directory /var/www/>
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    Fixed. *shrug*
     

Share This Page