mod_rewrite question

This is a discussion on mod_rewrite question within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi- I am just starting to look at mod_rewrite to see if it will solve a problem. We have some ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-16-2003
 
Posts: n/a
Default mod_rewrite question

Hi-

I am just starting to look at mod_rewrite to see if it will solve a problem.
We have some servlets and JSP that I don't have total control over.
I want to turn a url like this (i.e. this is in the customer's address bar
in the browser):

https://www.myurl.com/servlet/com.me...test?action=10

Into:

https://www.myurl.com/servlet/com.ph...test?action=10

The second URL is appropriate for all the internal processing. Basically I
don't want the customer to ever see phonemiser in the URL, yet all the
internal servlets are named phonemiser. I want to use Apache to filter and
modify both the inbound and the outbound URLs that are displayed to the
customer. This is a completely symmetric process, can mod_rewrite do this?

Thanks,

Matt


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:00 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0