Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove part of URL - rewrite/alias?

Status
Not open for further replies.

3c2controller

Technical User
Sep 12, 2011
1
US
I'm setting up a reverse proxy and this is the first time working with mod_rewrite. After some long research, I believe rewrite or alias is the trick to resolve my problem.

Apache Config
ProxyPass /site123/ ProxyPassReverse /site123/
This portion is working okay, except when a user clicks on a button, the url shows as: /portalapp/controller?handler=LoginHandler&action=noaction (embeded html code)

When that happens, the new URL in the browser ends up as
I'm trying to get it to show up as:
I'm trying to use Rewrite to look for the /portalapp/ and remove it. Maybe mod_alias is a better path to take?

Any suggestions?

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top