HT: Difference between revisions

Jump to navigation Jump to search
70 bytes removed ,  9 June 2005
revision 2
(moved from htaccess and modifed.. revision 1)
 
(revision 2)
Line 20: Line 20:
</pre>  
</pre>  
Where [Error Number] is replaced with the error number, and [Error Document] is replaced with the path fo the error document which can be internal or external as in:  
Where [Error Number] is replaced with the error number, and [Error Document] is replaced with the path fo the error document which can be internal or external as in:  
<pre>http://www.anothersite.com/foo.ext or /foo.ext (where foo.ext is in the main directory of the server the file is on)</pre>
<pre>http://www.anothersite.com/foo.ext or /foo.ext</pre>
'''Server Generated URL Redirects''': You moved or renamed a directory and you know people still have the old directory bookmarked so you want them to be redirected to the new directory, then you can use this code:  
'''Server Generated URL Redirects''': You moved or renamed a directory and you know people still have the old directory bookmarked so you want them to be redirected to the new directory, then you can use this code:  
<pre>Redirect [Trigger] [New Destination]
<pre>Redirect [Trigger] [New Destination]
Line 77: Line 77:
</Directory>
</Directory>
</pre>  
</pre>  
If you are intrested in doing thsi for just specific files then use:
If you are intrested in doing this for just specific files then use:
<pre>
<pre>
<Files /path/to/file.ext>
<Files /path/to/file.ext>
Anonymous user

Navigation menu