httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stepab...@free.fr
Subject [users@httpd] Rewrite rule with Servlet Issue
Date Thu, 09 Feb 2006 11:52:31 GMT


Hi Apache gurus,

I have got Apache running on auohsepcb11.oracleoutsourcing.com:10280
The site is accesible thorugh URL oexdev.oracleoutsourcing.com with is the BIG
IP mapping to the Internal
auohsepcb11.oracleoutsourcing.com:10280

When I try to setup rewriting like that:
<VirtualHost *>
ProxyRequests On
RewriteEngine on
RewriteLog /techned/app/a_techned/apache/logs/rewrite.log
RewriteLogLevel 9
RewriteRule ^/cgi-bin/java\-rmi\.cgi$
http://oexdev.oracleoutsourcing.com/servlet/ServletHandler [P]
</VirtualHost>

This is not working though I can access the URL
http://oexdev.oracleoutsourcing.com/servlet/ServletHandler using my browser
When I configure with the following with the real machine name It works.
<VirtualHost *>
ProxyRequests On
RewriteEngine on
RewriteLog /techned/app/a_techned/apache/logs/rewrite.log
RewriteLogLevel 9
RewriteRule ^/cgi-bin/java\-rmi\.cgi$
http://auohsepcb11.oracleoutsourcing.com:10280/servlet/ServletHandler [P]
</VirtualHost>

But the server response is not returned to the initial client. which calls
http://oexdev.oracleoutsourcing.com/cgi-bin/java-rmi.cgi

Could you please explain what is wrong.

Regards
JO

---------------------------------------------------------------------
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