Outbound URL Rewriting - Only possible in IIS URL Rewrite module?
Nobody using Apache mod_rewrite seems to understand what Outbound rule
writing is, so I'm confused with this matter.
When developing a web application, you are naturally going to have long
'ugly' links because otherwise your IDE will not have a clue which files
you are trying to link to. But when the webpages are being served to the
user, you want them all to be presented in user-friendly URLs.
How are you supposed to include user-friendly URLs within your webpage
before they are served to the user by the web server? If you manually have
to change these types of links:
<a href="http://mysite.com?article=1§ion=5">Article 1, Chapter 5</a>
into these type of links:
<a href="http://mysite.com/article-1/section-5">Article 1, Chapter 5</a>
then you will mess up your entire application. Links will appear broken
when you try validate the site and the site may look a mess.
So how are people including user friendly URLs in their applications
without using Outbound rules?
No comments:
Post a Comment