You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/06/20 19:24:40 UTC

[Bug 53444] New: Errors when overriding Options Indexes in .htaccess

https://issues.apache.org/bugzilla/show_bug.cgi?id=53444

          Priority: P2
            Bug ID: 53444
          Assignee: bugs@httpd.apache.org
           Summary: Errors when overriding Options Indexes in .htaccess
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: brad@physics.utah.edu
          Hardware: Sun
            Status: NEW
           Version: 2.4.1
         Component: Core
           Product: Apache httpd-2

Created attachment 28973
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28973&action=edit
HTTPD config file

I'm actually using version 2.4.2

I compiled this on a test machine to verify the errors I'm getting on a more
complicated machine I'm upgrading to version 2.4.2

./configure \
    --prefix=/web/httpd-2.4.2 \
    --enable-ssl \
    --with-ssl=/local \
    --enable-rewrite \
    --enable-so 

With the attached httpd.conf

I create a test directory 
/web/httpd-2.4.2/htdocs/test

With .htaccess file
Options +Indexes

http://bohr.physics.utah.edu/test/ results in...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to
complete your request.

Please contact the server administrator at webmaster@physics.utah.edu to inform
them of the time this error occurred, and the actions you performed just before
this error.

More information about this error may be available in the server error log.

The logs show...

[Wed Jun 20 11:09:23.709509 2012] [core:alert] [pid 23310:tid 1129789760]
[client 155.101.100.21:52631] /web/httpd-2.4.2/htdocs/test/.htaccess: Option
Indexes not allowed here

Hope you guys can help me sort this out.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 53444] Errors when overriding Options Indexes in .htaccess

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53444

--- Comment #2 from Brad Hawks <br...@physics.utah.edu> ---
AllowOverride Options=Indexes ... This one fixes the problem

AllowOverride Options Indexes ... This one did NOT fix the problem

I was wondering if AllowOverride was confusing the core directive
Options=Indexes with the mod_autoindex directive Indexes, but couldn't figure
out a way to specify. I tried AllowOverrideList Indexes but that didn't work.

Guess I should read the documentation closer, I didn't see you could specify
Options=

Thanks for the help!

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 53444] Errors when overriding Options Indexes in .htaccess

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53444

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.4.1                       |2.4.2

--- Comment #3 from Eric Covener <co...@gmail.com> ---
Certainly looks busted here too

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 53444] Errors when overriding Options Indexes in .htaccess

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53444

--- Comment #4 from Eric Covener <co...@gmail.com> ---
maybe related to https://issues.apache.org/bugzilla/show_bug.cgi?id=52824

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 53444] Errors when overriding Options Indexes in .htaccess

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53444

Michał Grzędzicki <la...@iq.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Michał Grzędzicki <la...@iq.pl> ---
in <Directory "/web/httpd-2.4.2/htdocs">

You already enable indexes
Options Indexes FollowSymLinks

so it should work without .htaccess.

Does changing

AllowOverride Options

to

AllowOverride Options=Indexes

or

AllowOverride Options Indexes

makes it work for You ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 53444] Errors when overriding Options Indexes in .htaccess

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53444

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Eric Covener <co...@gmail.com> ---
will be in 2.4.3 and later

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 53444] Errors when overriding Options Indexes in .htaccess

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53444

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk
             Status|NEEDINFO                    |NEW

--- Comment #5 from Eric Covener <co...@gmail.com> ---
http://svn.apache.org/viewvc?rev=1359976&view=rev and proposed for 2.4

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org