Apache Configuration AllowOverride: "Options not allowed here" problems

Discussion in 'General' started by dpicella, May 24, 2009.

  1. dpicella

    dpicella New Member

    I'm using the latest upgrade to ISPConfig 3 v3.0.1.2

    I would like to allow users to browse password protected directories. I have tried setting up apache directives in:
    .htaccess
    .htpasswd
    This works out OK, however, If I try to use the Apache "Options" directive for anything, I get the log error
    "Options not allowed here"
    I tried modifying the website conf files and setting "AllowOverride All"

    But this does not work

    I have the same problem when trying to use anything.cgi even though the CGI box is checked off on the website config.

    For CGI, it states that "Options ExecCGI" is off ... turning it on in .htaccess produces the "Options not allowed here" error.

    If I set AllowOverride to "All" shouldn't I be able to use the Options in .htaccess?

    What am I doing wrong? I notice that there are a lot of AllowOverride directives in the ISPConfig files, so I am thinking there may be a conflict somewhere ... but it is weird that I can't use cgi when the website check box is configured to do so.

    Thank you for any advice.

    Cheers!
     
    Last edited: May 24, 2009
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    AFAIK, you cannot use Options in .htaccess files.
     
  3. dpicella

    dpicella New Member

    How to use .htaccess apache Options with ISPConfig 3

    Actually,

    I was able to make this work.

    I added

    Code:
    <Directory /path/to/the/dir/with .htaccess>
        AllowOverride All
        Order Allow,Deny
        Allow from all
    </Directory>
    
    To the apache directive box under options.
     

Share This Page