[thelist] Redirecting ASP pages on UNIX
Chris Blessing
webguy at mail.rit.edu
Tue Nov 27 15:02:31 2001
If you're using Apache...
If that's the case, you can use mod_rewrite
(http://httpd.apache.org/docs/mod/mod_rewrite.html) to pattern match any url
ending with .asp (and you'd have to handle querystrings if you use them
anywhere). This might work (didn't test it):
RewriteRule ^(.+)\.asp $1.html [L]
Read up on mod_rewrite to get a better understanding for how it works.
Chris Blessing
webguy@mail.rit.edu
http://www.330i.net
> -----Original Message-----
> From: thelist-admin@lists.evolt.org
> [mailto:thelist-admin@lists.evolt.org]On Behalf Of Michael Juarez
> Sent: Tuesday, November 27, 2001 3:44 PM
> To: thelist@lists.evolt.org
> Subject: [thelist] Redirecting ASP pages on UNIX
>
>
> Hello.
>
> Does anyone know how to redirect .asp files on a Unix host? For example:
>
> page.asp --> page.html
>
> Thanks.
>
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !