Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86412 - Options -All -Multiviews is poor syntax in apache 2.0 default config
Summary: Options -All -Multiviews is poor syntax in apache 2.0 default config
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 11:12 UTC by Michael Tharp
Modified: 2005-04-17 00:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tharp 2005-03-23 11:12:44 UTC
Options -All -Multiviews is poor syntax, should be replaced with Options None in the default config under <Directory />(and possibly other locations, ie. module configs?)

Reproducible: Always
Steps to Reproduce:
1. Open config.
2. Look for <Directory />
3. There it is!
Actual Results:  
Poor syntax is silently accepted by apache.

Expected Results:  
Better syntax should be used.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-23 12:18:14 UTC
Reopen if you can imagine why I resolved it as invalid.
Comment 2 Michael Tharp 2005-03-23 19:25:34 UTC
Because I didn't make it horridly clear what I was talking about? Oops. Apache.
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2005-04-09 06:25:49 UTC
The ideal case would be:

Options None

However, eaven upstream config contains ugly syntax styles like the one you reported. FYI, they're (upstream) currently working on a config file layout redesign.

Finally, this is no major bug, its just face lifting.
Comment 4 Rich Bowen 2005-04-16 16:19:39 UTC
Just for the record, this is a lot more than just facelifting. The Options directive is fragile, and when not treated exactly as documented, it tends to behave unexpectedly. Mixing +/- syntax with bareword syntax is one example. Using -All -Multiviews is another one. Using "Options None" will stand you in good stead later on when the Options directive is fixed to actually work consistently as documented. While I don't know exactly when this will happen, one certainly hopes that it is soon. Getting correct syntax into your config file now will ensure that installations don't break when that happens. Given that it's such a simple fix: Replace "-All -Multiviews" with "None", it seems that there's really no valid reason for not doing so.

Rich Bowen (rbowen@apache.org)
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2005-04-17 00:38:41 UTC
There is no 'Options -All -Multiviews' in the current httpd.conf (http://www.gentoo.org/cgi-bin/viewcvs.cgi/apache/dist/2.0/conf/httpd.conf?root=gentoo-src&rev=1.6&view=markup)