httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Li <cli...@yahoo.com>
Subject [users@httpd] redirect and hide the port number
Date Tue, 12 Feb 2008 19:48:29 GMT
I am trying to use rewrite to direct selected traffic
from the HTTP server (oracle iAS) to a oc4j container
on the same server.
I would like to hide the port number.  Is it possible?

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^.*storePRE.*$ [NC]
    RewriteRule ^/$ http://server:8888/basic.jsp [R]

When users access http://storePre.com, they would be
directed to http://server:8888/basic.jsp.
I would like it to be http://server/basic.jsp.  Is it
possible?

Thanks,
Charles Li




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message