Commit fe9367b2 authored by Joshua Slive's avatar Joshua Slive
Browse files

Disable mod_userdir by default.

This is non-backwards-compatible.  But it shouldn't effect most people,
because almost everyone has a UserDir directive in their config
anyway.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/simple-conf@160296 13f79535-47bb-0310-9956-ffa450edef68
parent b4b84f7f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -43,7 +43,6 @@ tutorial</a></seealso>
<name>UserDir</name>
<description>Location of the user-specific directories</description>
<syntax>UserDir <em>directory-filename</em></syntax>
<default>UserDir public_html</default>
<contextlist><context>server config</context> <context>virtual
host</context></contextlist>

@@ -147,6 +146,11 @@ Apache cannot determine if the redirect succeeded or not, so if you have
the redirect earlier in the list, that will always be the alternative
that is used.</p>

<p>User directory substitution is not active by default in versions
2.1.4 and later.  In earlier versions, <code>UserDir public_html</code>
was assumed if no <directive module="mod_userdir">UserDir</directive>
directive was present.</p>

</usage>

<seealso><a href="../howto/public_html.html">public_html
+5 −2
Original line number Diff line number Diff line
@@ -73,9 +73,12 @@
#endif


/* The default directory in user's home dir */
/* 
 * The default directory in user's home dir 
 * In the default install, the module is disabled
 */
#ifndef DEFAULT_USER_DIR
#define DEFAULT_USER_DIR "public_html"
#define DEFAULT_USER_DIR NULL
#endif

module AP_MODULE_DECLARE_DATA userdir_module;