logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Config Apache for Masking URL
Author
Wuahaha



Joined: 13 Dec 2006
Posts: 3

PostPosted: Mon 18 Dec '06 5:17    Post subject: Config Apache for Masking URL Reply with quote

Hi there how do I mask my URL eg:
http://www.mydomain.com/work/page/main.do?bla bla bla
to just http://www.mydomain.com?

Coz I dun wan people to see tat I'm using struts and my parameters in the URL Wink

I dun wan to use iFrame, so is there any better way, such as using proxy or something? Rolling Eyes
Back to top
Panda



Joined: 16 Dec 2006
Posts: 16

PostPosted: Mon 18 Dec '06 19:55    Post subject: Reply with quote

add to .htaccess

RewriteEngine on
RewriteRule ^/icons/(.+) - [PT,L]
RewriteRule ^/(.*) /system/path/to/docroot/of/http://www.mydomain.com/work/page/main.do?bla bla bla/http://www.mydomain.com?
/$1
Back to top


Reply to topic   Topic: Config Apache for Masking URL View previous topic :: View next topic
Post new topic   Forum Index -> Apache