If you were to add:
Alias / "/u01/app/oracle/product/oracle10g/Apache/Apache/htdocs/pddataprev/deqs/"
(all on one line) and remove your <META ...> from index.html then that would have the effect of fetching all documents which appeared to com from the root from its directory "deqs".
On 08/08/06, José Euclides Silva Junior < euclidesjr2005@xxxxxxxxx> wrote:Hi,
i intend to hide the application root directory from the browser address bar, as you can see at these steps example:
1) Http request: www.xxxx.com2) Apache runs some module that would redirects(or proxy) the resource to something like www.xxxx.com/somedir/ (J2ee aplication - same server)
3) So, Apache returns the right thing but the browser's address bar must show www.xxxx.com only, without the application directory.
Both Apache and OC4J lives at the same server(IP address)!I ve tried to do the following:ServerName www-pddataprev
DocumentRoot /u01/app/oracle/product/oracle10g/Apache/Apache/htdocs/pddataprevThere is an index.html file in the pddataprev directory which redirects to Java environment directory(deqs), as you can see below:<META HTTP-EQUIV="Refresh" CONTENT="0; URL="" href="http://www-pddataprev/deqs/" target="_blank">http://www-pddataprev/deqs/">
But, i got a failure because the browser shows the app directory; http://www-pddataprev/deqs/Is there a way to hide "deqs" from the browser address bar?
Thanks in advance, Euclides.
--
Steve Swift
http://www.swiftys.org.uk