From 4c34cb97d262df10a7df785be2399bb0455587db Mon Sep 17 00:00:00 2001
From: Joshua Slive
Date: Fri, 6 Sep 2002 18:37:46 +0000
Subject: [PATCH] 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 with
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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96691 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/howto/public_html.html.en | 12 ++++++------
docs/manual/howto/public_html.xml | 11 ++++++-----
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/docs/manual/howto/public_html.html.en b/docs/manual/howto/public_html.html.en
index 8fa48f51ea..a9857380a0 100644
--- a/docs/manual/howto/public_html.html.en
+++ b/docs/manual/howto/public_html.html.en
@@ -11,11 +11,11 @@
out of the home directory of the user "username
", out of
the subdirectory specified by the UserDir
directive.
-
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>
diff --git a/docs/manual/howto/public_html.xml b/docs/manual/howto/public_html.xml
index b2bf17d606..94aa62edf1 100644
--- a/docs/manual/howto/public_html.xml
+++ b/docs/manual/howto/public_html.xml
@@ -17,6 +17,8 @@
+
Mapping URLs to the Filesystem
+
- Setting the file path with UserDir
+ 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>
--
2.50.1