Solved

URL re-write with classic asp on IIS6

Posted on 2009-07-16
3
802 Views
Last Modified: 2012-05-07
Hi,

I installed IIRF on my server but do not know how to code the regular expressions bit for url rewriting .asp extensions.

I.e. I want to change
/page.asp?i=Links
to
/page/links/

and so on.

Please let me know what to put in the expression file.

Cheers.
0
Comment
Question by:Plowmister
  • 2
3 Comments
 
LVL 25

Expert Comment

by:kevp75
ID: 24879811
I have personally never seen this component before, so what I would suggest is having a look through, and maybe even ask in their forums

http://www.codeplex.com/IIRF/Thread/List.aspx
0
 
LVL 25

Expert Comment

by:kevp75
ID: 24880972
try something like this:

RewriteRule ^/page/([^\?\/]+)$ /page.asp?i=$1  [L]
0
 

Accepted Solution

by:
Plowmister earned 0 total points
ID: 24893851
I actually got something of a sort to work (i paid for it though) linkfreeze it's called... nice and easy to implement.
However, i have one problem with it when I do the '/' replacement for '=' and '&' etc the subdirectory structure is causing my css file to fail. Is there a simple anser to this?

Same points if someone can help.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now