Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Config Apache for Masking URL |
|
Author |
|
Wuahaha
Joined: 13 Dec 2006 Posts: 3
|
Posted: Mon 18 Dec '06 5:17 Post subject: Config Apache for Masking URL |
|
|
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
I dun wan to use iFrame, so is there any better way, such as using proxy or something? |
|
Back to top |
|
Panda
Joined: 16 Dec 2006 Posts: 16
|
Posted: Mon 18 Dec '06 19:55 Post subject: |
|
|
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 |
|
|
|
|
|
|