diff options
author | Ken Coar <coar@apache.org> | 2015-04-15 19:46:53 +0200 |
---|---|---|
committer | Ken Coar <coar@apache.org> | 2015-04-15 19:46:53 +0200 |
commit | 57ef10245b3cf962dcbe40d205d94c241bed7f0e (patch) | |
tree | 596b4aacaa742456ddd5a457f712481ae85dffc2 /docs/manual/mod/mod_alias.xml | |
parent | Mention which indexoptions need fancyindexing. Rsesolves bz56985 (diff) | |
download | apache2-57ef10245b3cf962dcbe40d205d94c241bed7f0e.tar.xz apache2-57ef10245b3cf962dcbe40d205d94c241bed7f0e.zip |
Enclose parameters in quotation marks for <{Files,Directory,Location}{,Match}>
containers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673892 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_alias.xml')
-rw-r--r-- | docs/manual/mod/mod_alias.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/manual/mod/mod_alias.xml b/docs/manual/mod/mod_alias.xml index b4e2711c04..d6572d4395 100644 --- a/docs/manual/mod/mod_alias.xml +++ b/docs/manual/mod/mod_alias.xml @@ -170,7 +170,7 @@ Alias /foo /gaq <highlight language="config"> Alias /image /ftp/pub/image -<Directory /ftp/pub/image> +<Directory "/ftp/pub/image"> Require all granted </Directory> </highlight> @@ -185,10 +185,10 @@ Alias /image /ftp/pub/image using <a href="../expr.html">expression syntax</a>.</p> <highlight language="config"> -<Location /image> +<Location "/image"> Alias /ftp/pub/image </Location> -<LocationMatch /error/(?<NUMBER>[0-9]+)> +<LocationMatch "/error/(?<NUMBER>[0-9]+)"> Alias /usr/local/apache/errors/%{env:MATCH_NUMBER}.html </LocationMatch> </highlight> @@ -393,13 +393,13 @@ Redirect 303 /three http://example.com/other interpreted using <a href="../expr.html">expression syntax</a>.</p> <highlight language="config"> -<Location /one> +<Location "/one"> Redirect permanent http://example.com/two </Location><br /> -<Location /three> +<Location "/three"> Redirect 303 http://example.com/other </Location><br /> -<LocationMatch /error/(?<NUMBER>[0-9]+)> +<LocationMatch "/error/(?<NUMBER>[0-9]+)"> Redirect permanent http://example.com/errors/%{env:MATCH_NUMBER}.html </LocationMatch><br /> </highlight> @@ -506,7 +506,7 @@ target as a CGI script</description> is essentially equivalent to:</p> <highlight language="config"> Alias /cgi-bin/ /web/cgi-bin/ -<Location /cgi-bin > +<Location "/cgi-bin" > SetHandler cgi-script Options +ExecCGI </Location> @@ -537,7 +537,7 @@ Alias /cgi-bin/ /web/cgi-bin/ module="core">SetHandler</directive>, and <directive module="core">Options</directive> as in: <highlight language="config"> -<Directory /usr/local/apache2/htdocs/cgi-bin > +<Directory "/usr/local/apache2/htdocs/cgi-bin"> SetHandler cgi-script Options ExecCGI </Directory> @@ -555,10 +555,10 @@ Alias /cgi-bin/ /web/cgi-bin/ interpreted using <a href="../expr.html">expression syntax</a>.</p> <highlight language="config"> -<Location /cgi-bin > +<Location "/cgi-bin"> ScriptAlias /web/cgi-bin/ </Location> -<LocationMatch /cgi-bin/errors/(?<NUMBER>[0-9]+)> +<LocationMatch "/cgi-bin/errors/(?<NUMBER>[0-9]+)"> ScriptAlias /web/cgi-bin/errors/%{env:MATCH_NUMBER}.cgi </LocationMatch><br /> </highlight> |