?
Solved

URL re-write with classic asp on IIS6

Posted on 2009-07-16
3
Medium Priority
?
813 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

764 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