Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 66127 invoked by uid 500); 6 Sep 2002 18:37:47 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 66116 invoked by uid 500); 6 Sep 2002 18:37:46 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 6 Sep 2002 18:37:46 -0000 Message-ID: <20020906183746.22289.qmail@icarus.apache.org> From: slive@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/docs/manual/howto public_html.xml public_html.html.en X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N slive 2002/09/06 11:37:46 Modified: docs/manual/howto public_html.xml public_html.html.en Log: A couple small tweaks to the public_html tutorial. 1. Add a to urlmapping.html. 2. Take some markup out of a . It is technically allowed, but probably not a good idea. 3. Replace <DirectoryMatch /home/*/cgi-bin> with <Directory /home/*/cgi-bin> since that is a shell-style wildcard and not a regular expression. Also replace Options +ExecCGI with Options ExecCGI, because it is safest to turn off non-CGI Options in a cgi-bin directory. Revision Changes Path 1.2 +6 -5 httpd-2.0/docs/manual/howto/public_html.xml Index: public_html.xml =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/howto/public_html.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -b -u -r1.1 -r1.2 --- public_html.xml 15 Aug 2002 15:47:10 -0000 1.1 +++ public_html.xml 6 Sep 2002 18:37:46 -0000 1.2 @@ -17,6 +17,8 @@ </summary> +<seealso><a href="../urlmapping.html">Mapping URLs to the Filesystem</a></seealso> + <section id="related"> <title>Per-user web directories @@ -32,8 +34,7 @@
- Setting the file path with <directive - module="mod_userdir">UserDir</directive> + Setting the file path with UserDir

The UserDir directive specifies a directory out of which per-user @@ -107,13 +108,13 @@ Enabling a cgi directory for each user

In order to give each user their own cgi-bin directory, you can use - a DirectoryMatch + a Directory directive to make a particular subdirectory of a user's home directory cgi-enabled.

- <DirectoryMatch /home/*/cgi-bin/>
- Options +ExecCGI
+ <Directory /home/*/cgi-bin/>
+ Options ExecCGI
SetHandler cgi-script
</DirectoryMatch>
1.5 +6 -6 httpd-2.0/docs/manual/howto/public_html.html.en Index: public_html.html.en =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/howto/public_html.html.en,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -b -u -r1.4 -r1.5 --- public_html.html.en 6 Sep 2002 17:15:23 -0000 1.4 +++ public_html.html.en 6 Sep 2002 18:37:46 -0000 1.5 @@ -11,11 +11,11 @@ out of the home directory of the user "username", out of the subdirectory specified by the UserDir directive.

-
top
top
top
top

Setting the file path with UserDir

The UserDir @@ -86,13 +86,13 @@

In order to give each user their own cgi-bin directory, you can use - a DirectoryMatch + a <Directory> directive to make a particular subdirectory of a user's home directory cgi-enabled.

- <DirectoryMatch /home/*/cgi-bin/>
- Options +ExecCGI
+ <Directory /home/*/cgi-bin/>
+ Options ExecCGI
SetHandler cgi-script
</DirectoryMatch>