How to include htaccess in Apache Directives

Discussion in 'Installation/Configuration' started by vistree, Jan 26, 2015.

  1. vistree

    vistree Member HowtoForge Supporter

    Hi all,
    as a follow up to
    I try to include the htaccess files into the virtualhost using ispconfig's Apache Directives field:
    <Directory /var/www/>
    Options -Indexes -FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    Include /var/www/
    <Directory /var/www/>
    Include /var/www/
    My CMS, Drupal, is located in /cms/
    For this, I use
    Redirect Type = No Flag
    Redirect Path = /cms/
    I already disabled
    in /usr/local/ispconfig/security/security_settings.ini
    But, after saving my settings above, I get a permission denied while accessing the website.
    What am I doing wrong?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    A .htaccess file is loaded by apache automatically, you dont have to unclude that.

Share This Page