Virtual Folders?
am 08.11.2007 16:29:14 von DFS
Hello, I have a Windows 2003 Server with IIS. I need to do the following:
let's say I have the domain www.mydomain.com, I'd like to have addresses
like www.mydomain.com/topic1, www.mydomain.com/topic2, etc. where "topic1"
and "topic2" are not real folders, but are only addresses that should be
interpreted by an ASP page that redirects users to the real correct pages
(for example, www.mydomain.com/folder/folder2/topic1.asp and
www.mydomain.com/folder3/folder4/folder5/topic2.asp).
In a few words, they will not be real existing addresses, but a way to have
shorter URL. Sure, I could do www.mydomain.com/go.asp?topic1 but it would be
longer than www.mydomain.com/topic1...
Thanks!
Re: Virtual Folders?
am 08.11.2007 18:50:04 von Rick Barber
There are a couple of different ways to do this, but I would recommend using
ISAPI Rewrite (http://www.isapirewrite.com). They have a solid product that
should work well for this situation. If you're not real versed in regex,
you can post to the forums and you should get a good rule that does what you
need.
--
Rick Barber
http://www.orcsweb.com
Managed Complex Hosting
#1 in Service and Support
"Bus" wrote in message
news:47332b29$0$37207$4fafbaef@reader3.news.tin.it...
> Hello, I have a Windows 2003 Server with IIS. I need to do the following:
> let's say I have the domain www.mydomain.com, I'd like to have addresses
> like www.mydomain.com/topic1, www.mydomain.com/topic2, etc. where "topic1"
> and "topic2" are not real folders, but are only addresses that should be
> interpreted by an ASP page that redirects users to the real correct pages
> (for example, www.mydomain.com/folder/folder2/topic1.asp and
> www.mydomain.com/folder3/folder4/folder5/topic2.asp).
>
> In a few words, they will not be real existing addresses, but a way to
> have shorter URL. Sure, I could do www.mydomain.com/go.asp?topic1 but it
> would be longer than www.mydomain.com/topic1...
>
> Thanks!
>
>