[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#717666: apache2: Internal Server Error when using an option that doesn't change anything



Hello Vincent

On Tuesday 23 July 2013 15:51:55 Vincent Lefevre wrote:
> (...)
>   <Directory /home/*/public_html>
>     AllowOverride FileInfo AuthConfig Limit Indexes
> (...)
> My ~/public_html/.htaccess file has:
> Options +MultiViews
>
> (...)
>   Internal Server Error
>
> (...) with MultiViews already enabled. So, there's no reason to
> issue an error.

I believe this is the expected behavior:

I suppose your error.log contains something like :
"/home/xxx/public_html/.htaccess: Option MultiViews not allowed here"

Tuning Multiview option is forbidden inside an .htaccess unless you explicitly
allow it.


This can be fixed by changing:
AllowOverride FileInfo AuthConfig Limit Indexes
into
AllowOverride FileInfo AuthConfig Limit Indexes Options=MultiViews

See documentation:
https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride

This will fix your error.

Does that make sense?


You should also probably note the Multiview setting restrictions:
https://httpd.apache.org/docs/2.4/mod/core.html#options

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: