From: Christophe Jaillet Date: Fri, 27 May 2016 20:07:06 +0000 (+0000) Subject: Synch with trunk X-Git-Tag: 2.4.21~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=522a6270ce78205ec98d1025d3638aebba525d3d;p=thirdparty%2Fapache%2Fhttpd.git Synch with trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1745805 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/howto/public_html.xml b/docs/manual/howto/public_html.xml index cbec42cd0f8..15ef8604bb3 100644 --- a/docs/manual/howto/public_html.xml +++ b/docs/manual/howto/public_html.xml @@ -72,7 +72,9 @@ assumed to be a directory path relative to the home directory of the specified user. Given this configuration:

- UserDir public_html + +UserDir public_html +

the URL http://example.com/~rbowen/file.html will be translated to the file path @@ -82,7 +84,9 @@ constructed using that path, plus the username specified. Given this configuration:

- UserDir /var/html + +UserDir /var/html +

the URL http://example.com/~rbowen/file.html will be translated to the file path /var/html/rbowen/file.html

@@ -91,7 +95,9 @@ in which the asterisk is replaced with the username. Given this configuration:

- UserDir /var/www/*/docs + +UserDir /var/www/*/docs +

the URL http://example.com/~rbowen/file.html will be translated to the file path @@ -99,7 +105,9 @@

Multiple directories or directory paths can also be set.

- UserDir public_html /var/html + +UserDir public_html /var/html +

For the URL http://example.com/~rbowen/file.html, Apache will search for ~rbowen. If it isn't found, @@ -114,7 +122,9 @@

The UserDir directive can be used to redirect user directory requests to external URLs.

- UserDir http://example.org/users/*/ + +UserDir http://example.org/users/*/ +

The above example will redirect a request for http://example.com/~bob/abc.html to @@ -128,7 +138,9 @@

Using the syntax shown in the UserDir documentation, you can restrict what users are permitted to use this functionality:

- UserDir disabled root jro fish + +UserDir disabled root jro fish +

The configuration above will enable the feature for all users except for those listed in the disabled statement. diff --git a/docs/manual/mod/mod_userdir.xml b/docs/manual/mod/mod_userdir.xml index 5e883c8a3ad..747113c2dba 100644 --- a/docs/manual/mod/mod_userdir.xml +++ b/docs/manual/mod/mod_userdir.xml @@ -140,7 +140,7 @@ UserDir enabled user1 user2 user3 If you use a command like:

- UserDir public_html /usr/web http://www.example.com/ + UserDir "public_html" "/usr/web" "http://www.example.com/"

With a request for