dcsimg
www.webdeveloper.com
Results 1 to 11 of 11

Thread: URL Rewrite

  1. #1
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138

    URL Rewrite

    I would like to clean up my url's with a program like mod_rewrite in PHP. Is there anything out there that doesn't have to be installed to the server to do this job?

  2. #2
    Join Date
    Dec 2004
    Posts
    8,637
    No. But, frankly, I don't know what real purpose it would serve.

  3. #3
    Join Date
    Apr 2005
    Posts
    38
    I've been looking for this as well. Is there really no way to do this in ASP(.NET)?

  4. #4
    Join Date
    Dec 2004
    Posts
    8,637
    Can't speak for .NET, but I've never heard of anything in IIS for being able to omit the .asp suffix (or use an alternate suffix) and still have your .asp pages executed anyway. However, there may be a way to get ASP to process your pages even if they have a different suffix than the normal .asp suffix. I've never looked into that possibility.

  5. #5
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138
    The purpose for doing this is to make the URL's easier to remember. That way the link that would normally show up like link.asp?id=2&post=5 could show up easy like 2005/05/post-title and still do all the functions. As you should know phpnovice (or will eventually find) this is known as mod_rewrite in php and many php blogs use it for this purpose. I have found many sites on how to do this in ASP.NET but not ASP Classic memark

  6. #6
    Join Date
    Dec 2004
    Posts
    8,637
    Quote Originally Posted by sirhcchris3
    As you should know phpnovice (or will eventually find) this is known as mod_rewrite in php ...
    Yep, already knew that. However, you mention specific arguments in connection with the URL. Most of the questions I see on the subject in PHP are merely interested in eliminating the extension. It is for that which I don't see much use.

  7. #7
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138
    I have read in many articles that users remember links if they do not include the ?id=2&page=45&bla=bla

  8. #8
    Join Date
    Dec 2004
    Posts
    8,637
    Understandable, but that is not what I was talking about. In any case... I also don't know why anyone would want to require such obtuse links to be remembered nor why anyone would need to remember them -- when browser favorites are so handy. Hey, call me silly for using technology to its fullest.

  9. #9
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138
    Here is the write up i am talking about. http://www.usabilitynews.com/news/article1042.asp

  10. #10
    Join Date
    Apr 2005
    Posts
    38
    Quote Originally Posted by sirhcchris3
    As you should know phpnovice (or will eventually find) this is known as mod_rewrite in php and many php blogs use it for this purpose. I have found many sites on how to do this in ASP.NET but not ASP Classic memark
    Could you please direct me to one of those sites?

  11. #11
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138
    Just do a search for "URL rewrite ASP.NET" on google.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles