Forum Moderators: open

Message Too Old, No Replies

Mod_rewrite in ASP

How do you rewrite asp url's

         

Ove

9:33 pm on Feb 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How do you rewrite asp url's in php you use mod_rewrite but how do you do the same with an asp site? there must be some tricks.

/Ove

andreasfriedrich

9:50 pm on Feb 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



URL rewriting depends on your server. For Apache [httpd.apache.org] there is mod_rewrite [httpd.apache.org] for IIS there is (www.)isapirewrite(.com).

Andreas

webdevsf

10:49 pm on Feb 24, 2003 (gmt 0)

10+ Year Member



[pstruh.cz...]

I've been using this isapi for a while, works fine (and it's free!)

Dreamquick

11:15 pm on Feb 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Alternately under IIS5 you have the built-in server.execute (or it might be server.transfer I never remember) command.

Combine this with a custom 404 and you have the ability to create "virtual" pages (ie they dont really exist on the server but any request for that page gets served up as if that page does exist) which is essentially what mod_rewrite does.

- Tony

Ove

8:22 am on Feb 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks alot for the information.

/Ove