You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Sameer Parekh <sa...@hyperreal.com> on 1996/11/26 07:13:48 UTC
cvs commit: apache/htdocs/manual/mod mod_alias.html
sameer 96/11/25 22:13:48
Modified: htdocs/manual/mod mod_alias.html
Log:
Add redirecttemp/perm directives
Revision Changes Path
1.3 +26 -1 apache/htdocs/manual/mod/mod_alias.html
Index: mod_alias.html
===================================================================
RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_alias.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C3 -r1.2 -r1.3
*** mod_alias.html 1996/11/21 10:30:38 1.2
--- mod_alias.html 1996/11/26 06:13:47 1.3
***************
*** 17,22 ****
--- 17,24 ----
<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,67 ****
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>
<A name="scriptalias"><h2>ScriptAlias</h2></A>
<!--%plaintext <?INDEX {\tt ScriptAlias} directive> -->
<strong>Syntax:</strong> ScriptAlias <em>url-path directory-filename</em><br>
--- 62,92 ----
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>
+ <A name="redirecttemp"><h2>RedirectTemp</h2></A>
+ <!--%plaintext <?INDEX {\tt Redirect} directive> -->
+ <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 <?INDEX {\tt Redirect} directive> -->
+ <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 <?INDEX {\tt ScriptAlias} directive> -->
<strong>Syntax:</strong> ScriptAlias <em>url-path directory-filename</em><br>