BuddhistPunk
Gawd
- Joined
- Mar 21, 2002
- Messages
- 656
Without actually using one of the IIS mod_rewrite libraries out there does anybody know if the following is possible:
I need to create X number of "virtual" endpoints in IIS, for example:
http://www.mysite.com/path/12345.ext
http://www.mysite.com/path/67890.ext
http://www.mysite.com/path/abcde.ext
....
thousands more
....
http://www.mysite.com/path/xxx.ext
When any of these is called I need to transparently "rewrite" to the following single address:
http://www.mysite.com/path/handler.ext
Then within the code under handler.ext it would read the header to obtain the address the request was made to (i.e. 12345.ext)
I need to create X number of "virtual" endpoints in IIS, for example:
http://www.mysite.com/path/12345.ext
http://www.mysite.com/path/67890.ext
http://www.mysite.com/path/abcde.ext
....
thousands more
....
http://www.mysite.com/path/xxx.ext
When any of these is called I need to transparently "rewrite" to the following single address:
http://www.mysite.com/path/handler.ext
Then within the code under handler.ext it would read the header to obtain the address the request was made to (i.e. 12345.ext)