You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Harry Potter <mi...@yahoo.com> on 2003/06/08 21:26:32 UTC

[users@httpd] Options not allowed here

I can't figure out why in my error log "Options not
allowed here"
appears everytime there is a .htaccess file in a
directory.

relevant httpd.conf:
<Directory "*****">
     Options -Indexes FollowSymLinks ExecCGI
     AllowOverride All
     Order allow,deny
     Allow from all
</Directory>


The ***** is my document root. If I place a .htaccess
file with:
Options +Indexes

or
Options -Indexes

A 500 error will show up and Apache logs will say
"Options not allowed here"

In fact, if I leave ANYTHING AT ALL in the .htaccess
file it gives me
this error.

Can anyone help? I want to be able to show directory
contents for some
directories and not in others without messing around
in httpd.conf all
the time.

ciaran

-- 
A human being should be able to change a diaper, plan
an invasion,
butcher a  hog, conn  a ship, design  a building, 
write a sonnet,
balance  accounts,  build a wall, set  a bone, comfort
 the dying,
take orders, give orders,  cooperate, act  alone,
solve equations,
analyze a  new problem, pitch  manure, program a
computer, cook a
tasty meal, fight  efficiently, die  gallantly.
Specialization is
for insects.                                   --
Robert Heinlein



__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Options not allowed here

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 8 Jun 2003, Harry Potter wrote:

> I can't figure out why in my error log "Options not
> allowed here"
> appears everytime there is a .htaccess file in a
> directory.
>
> relevant httpd.conf:
> <Directory "*****">
>      AllowOverride All

There are probably multiple AllowOverride directives in your configuration
file, and one of them is overriding this one.  Try searching through your
config for every instance of AllowOverride.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org