Re: [us...@httpd]

2009-04-30 Thread Rocco Scappatura
Hello, On Gio, 30 Aprile 2009 15:44, André Warnier wrote: >> So I think that the header Host: is considered after mod_proxy and so >> the >> request is forwarded to Tomcat. >> > With respect, I think that this does not make sense. > Apache has to first parse the Host: header, before it even know

Re: [us...@httpd]

2009-04-30 Thread Rocco Scappatura
Thanks Karel for your answer. On Mer, 29 Aprile 2009 19:34, Karel Kubat wrote: >> >>ServerAdmin webmas...@mysite.it >>DocumentRoot "C:/Apache2.2/htdocs/virtualhost2" >>ServerName virtualhost.mysite.it >>ErrorLog "logs/virtualhost.mysite.it-error_log" >>CustomLog "logs/virtualh

[us...@httpd] mod_proxy and virtual hosts

2009-04-29 Thread Rocco Scappatura
Hello, I ve an Apache2.2+Tomcat5.5+Windows2K platform. I use Apache2.2 to proxy almost all the requests for 80 port of my server (http://www.mysite.it). Since some days I would like to setup an Apache2.2 virtual host to show the content of a site directly through Apache2.2 (i.e.: not proxying th

[us...@httpd]

2009-04-29 Thread Rocco Scappatura
Hello, I ve an Apache2.2+Tomcat5.5+Windows2K platform. I use Apache2.2 to proxy almost all the requests for 80 port of my server (http://www.mysite.it). Since some days I would like to setup an Apache2.2 virtual host to show the content of a site directly through Apache2.2 (i.e.: not proxying th

RE: [EMAIL PROTECTED] mod_proxy_html (Expecially for Nick Kew) (SOLVED)

2007-12-09 Thread Rocco Scappatura
>> >Is there any way to solve this problem? >> >> >> >> >> Have you tried adding these? >> >> ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \ >> onmouseover onmousemove onmouseout >> onkeypress \ >> onkeydown onkeyup onfocus onbl

Re: [EMAIL PROTECTED] Reverse proxy all but something (SOLVED)

2007-12-09 Thread Rocco Scappatura
> Now I have the problem of avoiding proxing for the URLs of , thta awstats uses: > > ProxyPass /cgi-bin/awstats.pl ! > ProxyPass /awstatsclasses/ ! > ProxyPass /awstatscss/ ! > ProxyPass /awstatsicons/ ! > > Unluckly, this not work. The key is how to tell Apache that all

Re: [EMAIL PROTECTED] Reverse proxy all but something

2007-12-09 Thread Rocco Scappatura
> On Dec 8, 2007 5:16 PM, Eric Covener <[EMAIL PROTECTED]> wrote: >> On Dec 8, 2007 3:22 PM, Rocco Scappatura <[EMAIL PROTECTED]> >> wrote: >> >> > ProxyRequests off > > Whoops, snipped the wrong line. Thanks Eric, I just forgot wh

[EMAIL PROTECTED] Reverse proxy all but something

2007-12-08 Thread Rocco Scappatura
Hello, I have reverse proxied the url '/' (and so all that starring by '/'). ProxyRequests off ProxyPass / http://10.1.1.1/smthing/ ProxyPassReverse / http://10.1.1.1/smthing/ Now I would like to install a log analyzer (awstats) for analyzing the access to my website.

RE: [EMAIL PROTECTED] mod_proxy_html (Expecially for Nick Kew)

2007-12-07 Thread Rocco Scappatura
> >Is there any way to solve this problem? > > > > > Have you tried adding these? > > ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \ > onmouseover onmousemove onmouseout > onkeypress \ > onkeydown onkeyup onfocus onblur onloa

[EMAIL PROTECTED] mod_proxy_html (Expecially for Nick Kew)

2007-12-07 Thread Rocco Scappatura
Hello, I run Apache 2.2 on Windows XP along with Tomcat 5.5. I'm using reverse proxy (mod_proxy) to publish a web application on Internet. I had had to use mod_proxy_html due to problems with path rewriting. Now all works fine except one think: I have a form inside an html page and when I subm

RE: [EMAIL PROTECTED] Problem runningtmod_proxy_html in httpd-2.2.x?

2007-12-07 Thread Rocco Scappatura
> This is my setting: > > ProxyHTMLLogVerbose On > LogLevel Debug > > ProxyPass /demo1/ http://www.backend-site.com/ > ProxyHTMLURLMap http://www.backend-site.com /demo1 > > > ProxyPassReverse / > SetOutputFilter proxy-html > ProxyHTMLURLMap /

RE: [EMAIL PROTECTED] Problem runningtmod_proxy_html in httpd-2.2.x?

2007-12-07 Thread Rocco Scappatura
> This is my setting: > > ProxyHTMLLogVerbose On > LogLevel Debug > > ProxyPass /demo1/ http://www.backend-site.com/ > ProxyHTMLURLMap http://www.backend-site.com /demo1 > > > ProxyPassReverse / > SetOutputFilter proxy-html > ProxyHTMLURLMap /

RE: [EMAIL PROTECTED] Rewriting URL inside a 'proxyed' page (SOLVED)

2007-12-03 Thread Rocco Scappatura
> > > > I have a Tomcat webapp which is surfed from Internet using > > > a reverse > > > > proxy (or better, my idea is). > > > > > > > > To be practical, say that: > > > > > > > > http://www.exaple.com/site/ --> > > > > http://localhost:8081/webapp/app/site/ > > > > > > > > Unfortunately, when

RE: [EMAIL PROTECTED] Rewriting URL inside a 'proxyed' page (SOLVED)

2007-12-03 Thread Rocco Scappatura
> > I have a Tomcat webapp which is surfed from Internet using > a reverse > > proxy (or better, my idea is). > > > > To be practical, say that: > > > > http://www.exaple.com/site/ --> > > http://localhost:8081/webapp/app/site/ > > > > Unfortunately, when I get the home page > > (http://www.e

[EMAIL PROTECTED] Rewriting URL inside a 'proxyed' page

2007-12-01 Thread Rocco Scappatura
Hello, I have a Tomcat webapp which is surfed from Internet using a reverse proxy (or better, my idea is). To be practical, say that: http://www.exaple.com/site/ --> http://localhost:8081/webapp/app/site/ Unfortunately, when I get the home page (http://www.exaple.com/site/index.html) correct

[EMAIL PROTECTED] Configure mod_proxy_html

2007-11-30 Thread Rocco Scappatura
Hello, I have two Tomcat webapps, say 'app1' and 'app2', reacheable locally at the following URLs: http://localhost:8081/app1 (app1) http://localhost:8081/app2 (app2) I would like to publish on Internet app1 and a 'subset' of app2: http://www.mydomain --> http://localhost:8081/app1 http://

[EMAIL PROTECTED] Apache lounge

2007-11-28 Thread Rocco Scappatura
Finally, I have found binaries of mod_proxy_html for windows. It can be downloaded from http://www.apachelounge.com/download/. Has anybody experienced with this software? Is there any contraindication in using it? Any suggestion is appreciated. Bye, rocsca -

[EMAIL PROTECTED] getting help (mod_proxy_html)

2007-11-28 Thread Rocco Scappatura
Hello, I have installed apache 2.2.6 under Windows XP. I would like to setup mod_proxy_html. I need the moduled compiled for windows or al least the instruction to compile it. I don't know if there are other requirements to extend apache with this module. Any suggestion is appreciated. Thanks

[EMAIL PROTECTED] mod_proxy_html setup

2007-11-27 Thread Rocco Scappatura
I have some problem after reversing proxy a Tomcat web app. After many research I inferred that mod_proxy_html could solve the problem of accessing my web app through reverse proxy. In particular, I have to rewrite URL inside the document accessed via reverse proxy, because my problem is that rep