Re: [users@httpd] mod rewrite

2012-11-25 Thread Igor Cicimov
On 26/11/2012 4:17 PM, "Steffan A. Cline" wrote: > > Is there a way to rewrite the HTTP_HOST where the . Is changed to a - ? > > HTTP_HOST= something.com > Redirects to domain.com/something-com/ > > Is it possible? There is nothing to rewrite here. You need to do what you already said above, redi

[users@httpd] Intermittent stalls

2012-11-25 Thread Jeroen Van den Horn
I hope somebody can help me with an issue that's kept me busy for quite some days now. We are using LVS in combination with Apache and mod-proxy to serve content from a large number of back-end servers (primarily using mod_proxy_balancer and mod_proxy_ajp). All runs smoothly until one of the back

Re: [users@httpd] mod rewrite

2012-11-25 Thread Steffan A. Cline
Is there a way to rewrite the HTTP_HOST where the . Is changed to a - ? HTTP_HOST= something.com Redirects to domain.com/something-com/ Is it possible? Thanks Steffan On 11/8/12 11:38 PM, "Igor Cicimov" wrote: > RewriteEngine On > RewriteCond %{HTTP_HOST} !^(www\.)?domain.com

Re: [users@httpd] Interesting Problem

2012-11-25 Thread Igor Cicimov
On Mon, Nov 26, 2012 at 3:00 PM, Chris Arnold wrote: > On Nov 25, 2012, at 10:17 PM, Kevin Castellow > wrote: > > Yes. That is exactly what a proxy would do for you. > Turn on logging to know for sure. > > Ok, I disabled the last proxy pass entry to the all vhost and now I do not > get the webma

Re: [users@httpd] Interesting Problem

2012-11-25 Thread Kevin Castellow
I would start with this page: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html There are great examples there. Determine the match that you want. Then set up the destination to the right ip and port. It sounds like you had a match but maybe the destination was not what you wanted. Wor

Re: [users@httpd] Interesting Problem

2012-11-25 Thread Chris Arnold
On Nov 25, 2012, at 10:17 PM, Kevin Castellow wrote: > Yes. That is exactly what a proxy would do for you. > Turn on logging to know for sure. > Ok, I disabled the last proxy pass entry to the all vhost and now I do not get the webmail login. What I was trying to do with the proxy pass entr

Re: [users@httpd] Interesting Problem

2012-11-25 Thread Kevin Castellow
Yes. That is exactly what a proxy would do for you. Turn on logging to know for sure. Regards, Kevin On Sun, Nov 25, 2012 at 10:14 PM, Chris Arnold wrote: > We have a problem and I am trying to either confirm or deny it being an > apache config mistake. 2 servers, 1 is 192.168.123.3 and 1 is >

[users@httpd] Interesting Problem

2012-11-25 Thread Chris Arnold
We have a problem and I am trying to either confirm or deny it being an apache config mistake. 2 servers, 1 is 192.168.123.3 and 1 is 192.168.124.3. On the 192.168.124.3 server we have email; on the 192.168.123.3 server we have web server. When I go to https://192.168.123.3 I am presented with t