[users@httpd] Rewrite rule with Servlet Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux