Re: [EMAIL PROTECTED] mod_proxy_ajp

2008-11-20 Thread Vasanth Kumar ravi
I think you need to specify the virtual hosts. When I was trying to proxy requests to my app server , I got the same problem and got it fixed after modfying the VH. NameVirtualHost *:80 VirtualHost _default_:80 DocumentRoot your doc root /VirtualHost VirtualHost *:80 ServerName hostname:80

Re: [EMAIL PROTECTED] mod_proxy_ajp static content

2006-08-03 Thread Nick Kew
On Thursday 03 August 2006 00:14, dfelicia wrote: http://myserver/myapp/my.jsp - route to Tomcat http://myserver/myapp/my.gif - serve via Apache This is quite easy to accomplish using mod_jk, but Apache 2.2 seems to prefer mod_proxy_ajp. Look up LocationMatch in TFM. This looks like

Re: [EMAIL PROTECTED] mod_proxy_ajp static content

2006-08-03 Thread dfelicia
When I try to insert a ProxyPass directive inside a LocationMatch, Apache fails to start - syntax error. I'm really hoping for an example, here. I'm wading through the doc, but am not coming up with a solution. -- View this message in context:

Re: [EMAIL PROTECTED] mod_proxy_ajp static content

2006-08-03 Thread dfelicia
Got it working. Here's how I did it: Directory /foo/bar Options FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all /Directory Alias /bar /foo/bar RewriteEngine On RewriteRule ^/bar/(.*)\.jsp$ ajp://127.0.0.1:45002/bar/$1.jsp [P] RewriteRule

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread Fenlason, Josh
@httpd.apache.org' Subject: RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl Thanks for the tip, but I don't think that's my problem. I just noticed that Tomcat is getting the request and generating the html from the jsp. However, by the time it gets back to my browser the content type is text

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread Fenlason, Josh
I finally figured it out. I had to add 'RewriteEngine on' to my rewrite config inside the ssl virtualhost. Thanks. , Josh. -Original Message- From: Fenlason, Josh Sent: Wednesday, June 07, 2006 10:28 AM To: 'users@httpd.apache.org' Subject: RE: [EMAIL PROTECTED] mod_proxy_ajp

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread JP
I was wrong. I was just looking a simple tomcat example jsp that contained html, so I thought the request was getting passed onto Tomcat, but it wasn't. ... Thanks for the tip, but I don't think that's my problem. I just noticed that Tomcat is getting the request and generating the

Re: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-06 Thread Robert Ionescu
Fenlason, Josh wrote: I think it's probably something to do with my mod_rewrite configuration, If you're using a SSL virtualhost, be sure to either inherit the rules from the main server config section with the RewriteOptions directive or repeat the rules in that virtual host. -- Robert

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-06 Thread Fenlason, Josh
^/(.*) ajp://localhost:8010/$1 [P] -Original Message- From: Robert Ionescu [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 12:01 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl Fenlason, Josh wrote: I think it's probably

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-05 Thread Charlie Moher
Please remove me from your mailing list immediately. Thank you. From: Fenlason, Josh [EMAIL PROTECTED] Reply-To: users@httpd.apache.org To: users@httpd.apache.org Subject: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl Date: Mon, 5 Jun 2006 15:53:13 -0400 I'm running into a problem

Re: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-05 Thread William A. Rowe, Jr.
Charlie Moher wrote: Please remove me from your mailing list immediately. Thank you. Please follow the directions to remove yourself. - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [EMAIL PROTECTED] mod_proxy_ajp

2005-12-20 Thread Nick Kew
On Tuesday 20 December 2005 17:19, Fenlason, Josh wrote: Alias /jsp-examples D:/test/tomcat/webapps/jsp-examples Directory D:/test/tomcat/webapps/jsp-examples Options Indexes FollowSymLinks AllowOverride None allow from all /Directory ProxyPass /jsp-examples

RE: [EMAIL PROTECTED] mod_proxy_ajp

2005-12-20 Thread Fenlason, Josh
[mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 11:31 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_proxy_ajp On Tuesday 20 December 2005 17:19, Fenlason, Josh wrote: Alias /jsp-examples D:/test/tomcat/webapps/jsp-examples Directory D:/test/tomcat/webapps/jsp