R: Forwarding *.jsp from Apache to Orion
yes, I've got! this snippet of httpd.conf sets up a proxy from apache to a web application in orion, so that if you requests http://yoursite/Abr/index.jsp, actually http://localhost:/Abr/index.jsp is called and the content is written back to the calling browser as http://yoursite/Abr/index.jsp ---begin--- LoadModule proxy_module modules/ApacheModuleProxy.dll AddModule mod_proxy.c IfModule mod_proxy.c ProxyRequests On ProxyPass/Abr/ http://localhost:/Abr/ ProxyPassReverse /Abr/ http://localhost:/Abr/ ProxyPass/ora9idoc/ http://lspclinux1:80/ora9idb_docs/ ProxyPassReverse /ora9idoc/ http://lspclinux1:80/ora9idb_docs/ /IfModule ---end--- hope it helps, d.rizzi -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Per conto di Manish M. Shah Inviato: martedì 19 marzo 2002 21.51 A: Orion-Interest Oggetto: Forwarding *.jsp from Apache to Orion Hi guys, We have to use Apache as our web server and Orion as the application server. As a result, I need to forward all *.jsp files from Apache to Orion. I know about the proxy setup in Apache. I also know about forwarding *.html/*.jpg/etc files from Orion to Apache, but we need to forward from Apache to Orion. Has anyone had any luck or success with that? Thanks. Manish
Forwarding *.jsp from Apache to Orion
Hi guys, We have to use Apache as our web server and Orion as the application server. As a result, I need to forward all *.jsp files from Apache to Orion. I know about the proxy setup in Apache. I also know about forwarding *.html/*.jpg/etc files from Orion to Apache, but we need to forward from Apache to Orion. Has anyone had any luck or success with that? Thanks. Manish
Re: Forwarding *.jsp from Apache to Orion
Hi Manish, What we do in Apache, is a combination of mod_rewrite and mod_proxy, as the latter is just able to proxy directories on its own. Something like that: ... RewriteEngine on RewriteRule ^(.*)\.jsp$ /proxy_orion_server/$1.jsp [P] ... ProxyRequests On ProxyPass/proxy_orion_server/ http://www.orion.host:8080/ ProxyPassReverse /proxy_orion_server/ http://www.orion.host:8080/ ... I hope it helps, D. Manish M. Shah wrote: Hi guys, We have to use Apache as our web server and Orion as the application server. As a result, I need to forward all *.jsp files from Apache to Orion. I know about the proxy setup in Apache. I also know about forwarding *.html/*.jpg/etc files from Orion to Apache, but we need to forward from Apache to Orion. Has anyone had any luck or success with that? Thanks. Manish