Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

URL re-write with classic asp on IIS6

Posted on 2009-07-16
3
Medium Priority
?
815 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

604 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