httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "José Euclides Silva Junior" <euclidesjr2...@gmail.com>
Subject [users@httpd] Hiding directory from the browser address field
Date Wed, 02 Aug 2006 20:41:43 GMT
---------- Forwarded message ----------
From: José Euclides Silva Junior <euclidesjr2005@gmail.com>
Date: 02/08/2006 17:17
Subject: Hiding directory from the browser address field
To: users-info@httpd.apache.org

Hi guys,
i need to hide the application(Java) root directory from the browser, as you
can see at these steps example:
1) Http request: www.xxxx.com
2) Apache runs module Alias: redirect www.xxxx.com to www.xxxx.com/somedir/
3) App runs and Apache returns www.xxxx.com/somedir/  to the browser

But, at this thime(step 3) i need to alter some http header field, because
Apache must JUST return "www.xxxx.com" to the browser, instead of
"www.xxxx.com/somedir".
How coud i do it? Any alias ou rewrite directive available?
Thanks in advance, Euclides.

Mime
View raw message