Network: Apache: asis file(last edit: 2001-03-18)
Asis files
An asis file is an alternative/faster way to rewrite to another page.
You should have the following option in your apache configuration file:
AddHandler send-as-is asis
It would also be nice to add 'index.asis' to your DirctoryIndex:
DirectoryIndex index.asis index.html index.htm
Now you can make a asis file like this:
user@host:/tmp# cat lowlife.asis
Status: 301
Location: http://www.lowlife.org
Content-type: text/html
<HTML>
<HEAD>
<TITLE>Moved to http://www.lowlife.org</TITLE>
</HEAD>
<BODY>
This site has moved to http://www.lowlife.org
</BODY>
</HTML>
Click here to go back to the index.
|