summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_alias.html
diff options
context:
space:
mode:
authorSameer Parekh <sameer@apache.org>1996-11-26 06:13:47 +0000
committerSameer Parekh <sameer@apache.org>1996-11-26 06:13:47 +0000
commita43d108f1ec8aa063dbdb7d565fb1a4a58ee6a88 (patch)
treebc0972cbbe868c222a49a021433882ec826f9d0c /docs/manual/mod/mod_alias.html
parente8cfcaa3b19e3795670fc1f7fd2a0be621eabb2c (diff)
downloadhttpd-a43d108f1ec8aa063dbdb7d565fb1a4a58ee6a88.tar.gz
Add redirecttemp/perm directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77057 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_alias.html')
-rw-r--r--docs/manual/mod/mod_alias.html27
1 files changed, 26 insertions, 1 deletions
diff --git a/docs/manual/mod/mod_alias.html b/docs/manual/mod/mod_alias.html
index 9a57e8da80..118ced8937 100644
--- a/docs/manual/mod/mod_alias.html
+++ b/docs/manual/mod/mod_alias.html
@@ -17,6 +17,8 @@ host filesystem in the the document tree, and for URL redirection.
<menu>
<li><A HREF="#alias">Alias</A>
<li><A HREF="#redirect">Redirect</A>
+<li><A HREF="#redirecttemp">RedirectTemp</A>
+<li><A HREF="#redirectperm">RedirectPermanent</A>
<li><A HREF="#scriptalias">ScriptAlias</A>
</menu>
<hr>
@@ -60,8 +62,31 @@ http://foo2.bar.com/service</code></blockquote>
If the client requests http://myserver/service/foo.txt, it will be told to
access http://foo2.bar.com/service/foo.txt instead.<p>
Note: Redirect directives take precedence over Alias and ScriptAlias
-directives, irrespective of their ordering in the configuration file.<p><hr>
+directives, irrespective of their ordering in the configuration file.<p>
+<A name="redirecttemp"><h2>RedirectTemp</h2></A>
+<!--%plaintext &lt;?INDEX {\tt Redirect} directive&gt; -->
+<strong>Syntax:</strong> RedirectTemp <em>url-path url</em><br>
+<Strong>Context:</strong> server config, virtual host, directory, .htaccess<br>
+<strong>Status:</strong> Base<br>
+<strong>Module:</strong> mod_alias<br>
+<strong>Compatibility:</strong> This directive is only available in 1.2<P>
+
+This directive makes the client know that the Redirect is only
+temporary. (Status 302).<P>
+
+<A name="redirectperm"><h2>RedirectPermanent</h2></A>
+<!--%plaintext &lt;?INDEX {\tt Redirect} directive&gt; -->
+<strong>Syntax:</strong> RedirectPermanent <em>url-path url</em><br>
+<Strong>Context:</strong> server config, virtual host, directory, .htaccess<br>
+<strong>Status:</strong> Base<br>
+<strong>Module:</strong> mod_alias<br>
+<strong>Compatibility:</strong> This directive is only available in 1.2<P>
+
+This directive makes the client know that the Redirect is permanent.
+(Status 301).<P>
+
+<hr>
<A name="scriptalias"><h2>ScriptAlias</h2></A>
<!--%plaintext &lt;?INDEX {\tt ScriptAlias} directive&gt; -->
<strong>Syntax:</strong> ScriptAlias <em>url-path directory-filename</em><br>