You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by theo van dinter <fe...@kluge.net> on 1999/01/18 20:21:40 UTC

config/3712: Default configuration in httpd.conf has minor error for user home directory directive.

>Number:         3712
>Category:       config
>Synopsis:       Default configuration in httpd.conf has minor error for user home directory directive.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 18 11:30:03 PST 1999
>Last-Modified:
>Originator:     felicity@kluge.net
>Organization:
apache
>Release:        1.3.4
>Environment:
Linux eclectic 2.0.34 #1 Thu Jun 11 12:56:23 EDT 1998 i586 unknown
gcc 2.7.2.3
>Description:
In the default httpd.conf file, there is a section which is commented out:

#<Directory /*/public_html>
#    AllowOverride FileInfo AuthConfig Limit
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#    <Limit GET POST OPTIONS PROPFIND>
#        Order allow,deny
#        Allow from all
#    </Limit>
#    <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
#        Order deny,allow
#        Deny from all
#    </Limit>
#</Directory>

the problem is that the "/*/public_html" needs to be "/*/*/public_html" for most sites
(where the userdir directories are /home/user/public_html) ...
>How-To-Repeat:

>Fix:
Change "/*/public_html" to "/*/*/public_html", or do either locationmatch or directorymatch
to handle the default /home/user/userdir configuration.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]