Re: [users@httpd] Interesting Problem

2012-11-26 Thread Chris Arnold
On Nov 25, 2012, at 11:58 PM, Igor Cicimov icici...@gmail.com wrote: On Mon, Nov 26, 2012 at 3:00 PM, Chris Arnold carn...@electrichendrix.com wrote: On Nov 25, 2012, at 10:17 PM, Kevin Castellow kev.castel...@gmail.com wrote: Yes. That is exactly what a proxy would do for you.

Re: [users@httpd] Interesting Problem

2012-11-26 Thread Igor Cicimov
On 26/11/2012 10:03 PM, Chris Arnold carn...@electrichendrix.com wrote: On Nov 25, 2012, at 11:58 PM, Igor Cicimov icici...@gmail.com wrote: On Mon, Nov 26, 2012 at 3:00 PM, Chris Arnold carn...@electrichendrix.com wrote: On Nov 25, 2012, at 10:17 PM, Kevin Castellow

Re: [users@httpd] Interesting Problem

2012-11-26 Thread Chris Arnold
On Nov 26, 2012, at 7:07 AM, Igor Cicimov icici...@gmail.com wrote: Do you have a default one like this Vhost _default_:443 or with the ip? Yes. Would you care to see it?

[users@httpd] connectiontimout question

2012-11-26 Thread Smith, Mitchell
Hi, Can someone please explain the implementation of connectiontimeout in a balancer member when using mod_proxy. Is it, the time for the back end server to ack the basic http connection or to respond with data? I have an backend application that generates a pdf report, depending on the size of

Re: [users@httpd] mod rewrite

2012-11-26 Thread Steffan A. Cline
Igor, I am not sure what you mean. The ?domain=xxx.com option works great. I was just wondering if there was a way to change it from ?domain=xxx.com to /xxx-com/ simply changing the . to a - Is it possible? I didn't know if it was possible to put that into a regex replacement of a sort.

[users@httpd] Creating Wildcard Sub Domain Using Apache VirtualHost

2012-11-26 Thread Robert Hanson
Dear All, I want to have this configuration on my server : 1. if user request using this URL : example.com or www.example.com, user will see index.php in this directory /home/admin1/public_html/ 2. but when user request using other sub domain (wildcard) for example : subdomain.example.com, user

Re: [users@httpd] Interesting Problem

2012-11-26 Thread Chris Arnold
- Original Message - From: Chris Arnold carn...@electrichendrix.com To: users@httpd.apache.org Cc: users@httpd.apache.org Sent: Monday, November 26, 2012 8:04:34 AM Subject: Re: [users@httpd] Interesting Problem On Nov 26, 2012, at 7:07 AM, Igor Cicimov icici...@gmail.com wrote:

[users@httpd] Httpd vhosts and ProxyPass/ProxyPassReverse and AJP - am I on crack?

2012-11-26 Thread Dave Shevett
I'm beginning to wonder if what I'm trying to do Just Doesn't Make Sense. After banging my head on this for 2 weeks, I'm asking the hive mind for help. I have an Apache Tomcat-based application that runs on as the only app on a particular Tomcat server. Each server services an individual

Re: [users@httpd] Httpd vhosts and ProxyPass/ProxyPassReverse and AJP - am I on crack?

2012-11-26 Thread Jim Jagielski
On Nov 26, 2012, at 2:37 PM, Dave Shevett shev...@pobox.com wrote: Here's what I have now, and it's not working correctly. VirtualHost *:80 ServerName www.FOO.com ServerAlias FOO.com ProxyRequests Off # Working, live production host: ProxyPass /a/

Re: [users@httpd] Httpd vhosts and ProxyPass/ProxyPassReverse and AJP - am I on crack?

2012-11-26 Thread Dave Shevett
On 11/26/12 3:12 PM, Jim Jagielski wrote: # Working, live production host: ProxyPass/a/ ajp://10.211.42.48:8009/ ProxyPassReverse/a/ http://FOO.com/ # app test host ProxyPass/c/ ajp://10.122.95.146:8009/ ProxyPassReverse/c/ http://FOO.com/ The

Re: [users@httpd] Httpd vhosts and ProxyPass/ProxyPassReverse and AJP - am I on crack?

2012-11-26 Thread Jim Jagielski
Your use of ProxyPassReverse is wrong... http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse On Nov 26, 2012, at 3:27 PM, Dave Shevett shev...@pobox.com wrote: On 11/26/12 3:12 PM, Jim Jagielski wrote: # Working, live production host: ProxyPass /a/

Re: [users@httpd] Httpd vhosts and ProxyPass/ProxyPassReverse and AJP - am I on crack?

2012-11-26 Thread Dave Shevett
On 11/26/12 3:50 PM, Jim Jagielski wrote: Your use of ProxyPassReverse is wrong... http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse I've read that page, and I'm still not sure where I'm doing it wrong. Can you give me more details as to what is wrong in my

Re: [users@httpd] Creating Wildcard Sub Domain Using Apache VirtualHost

2012-11-26 Thread Igor Cicimov
http://httpd.apache.org/docs/2.2/howto/public_html.html On Tue, Nov 27, 2012 at 4:49 AM, Robert Hanson m...@roberthanson.net wrote: Dear All, I want to have this configuration on my server : 1. if user request using this URL : example.com or www.example.com, user will see index.php in

Re: [users@httpd] Httpd vhosts and ProxyPass/ProxyPassReverse and AJP - am I on crack?

2012-11-26 Thread Igor Cicimov
Try this VirtualHost *:80 ServerName www.FOO.com ServerAlias FOO.com ProxyRequests Off # Working, live production host: ProxyPass /a/ ajp://10.211.42.48:8009/ ProxyPassReverse /a/ ajp://10.211.42.48:8009/ # app test host ProxyPass

Re: [users@httpd] Httpd vhosts and ProxyPass/ProxyPassReverse and AJP - am I on crack?

2012-11-26 Thread Dave Shevett
This is the exact place I started, and here's what happens: $ curl --dump - http://FOO.com/a/ HTTP/1.1 302 Moved Temporarily Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Date: Mon, 26 Nov 2012 23:49:30 GMT Location: http://FOO.com/public/Welcome.action Content-Length: 0

Re: [users@httpd] connectiontimout question

2012-11-26 Thread Igor Cicimov
On Tue, Nov 27, 2012 at 2:59 AM, Smith, Mitchell mitchell.sm...@cwc.comwrote: connectiontimeout I would expect the timeout value for the particular worker or the ProxyTimeout to be increased and not the connectiontimeout. The connectiontimeout tells apache how long to wait for the connection

Re: [users@httpd] Interesting Problem

2012-11-26 Thread Chris Arnold
On Nov 26, 2012, at 5:49 PM, Igor Cicimov icici...@gmail.com wrote: So you have put the proxy for https://mail.domain.com inside domain.net virtual host. You realize they are different domains right? You need to set a separate vhost for that subdomain mail.domain.com and put the Proxy

Re: [users@httpd] mod rewrite

2012-11-26 Thread Steffan A. Cline
On the rewrite rule, I was working on RewriteRule ([\w]*)\.(.*) http://domain.com/$1-$2/ BUT what if there is anything before xxx.com like www.xxx.com? I am no pro with regex but trying to find a way around that. Thanks Steffan On 11/26/12 10:46 AM, Steffan A. Cline stef...@hldns.com