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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 | |
|
|