HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Apache Configuration AllowOverride: "Options not allowed here" problems (http://www.howtoforge.com/forums/showthread.php?t=35417)

dpicella 24th May 2009 18:06

Apache Configuration AllowOverride: "Options not allowed here" problems
 
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!

falko 25th May 2009 13:45

AFAIK, you cannot use Options in .htaccess files.

dpicella 25th May 2009 19:55

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.


All times are GMT +2. The time now is 14:45.

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