[users@httpd] Smarter rewrite rule

2011-09-21 Thread Michele Mase'
Hi folks, I'using a lazy rule on my site: ... ProxyPass /app1/ http://192.168.1.1/app1/ ProxyPassReverse /app1/ http://192.168.1.1/app1/ RewriteRule ^/app1$ /app1/ [R] ProxyPass /app2/ http://192.168.1.1/app2/ ProxyPassReverse /app2/ http://192.168.1.1/app2/ RewriteRule ^/app2$ /app2/ [R] Prox

Re: [users@httpd] Starting/Stopping Apache via an API

2011-09-21 Thread Rob Stone
On 22/09/11 07:34, Tech Newbie wrote: The intent is to create (or find) a generic service management call that will start/stop/getStatus for any given service. For example: startService(String serviceName), stopService(String serviceName)where serviceName maybe "Apache2", "JBoss", etc. The rout

Re: [users@httpd] Re: mod_proxy SSL forward proxy

2011-09-21 Thread Eric Covener
On Wed, Sep 21, 2011 at 6:32 PM, mortee wrote: > > Any ideas about this topic? Can't do it. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info.

[users@httpd] Re: mod_proxy SSL forward proxy

2011-09-21 Thread mortee
Any ideas about this topic? On 09/08/2011 11:41, mortee wrote: Hello, Is there a way to enable both SSLEngine and plain HTTP forward proxying on the same port / virtual host? To be specific, I want my Apache to serve usual HTTPS on port 443, but also act as a proxy server using the ProxyRequ

Re: [users@httpd] Starting/Stopping Apache via an API

2011-09-21 Thread Tech Newbie
The intent is to create (or find) a generic service management call that will start/stop/getStatus for any given service. For example: startService(String serviceName), stopService(String serviceName)where serviceName maybe "Apache2", "JBoss", etc. The routines will programmatically start/stop

[users@httpd] Apache translates a 401 to 502 from a backend proxy

2011-09-21 Thread Sachin Shetty
Hi, Our proxy setup is Apache ==> Haproxy ==> Cherry Py Server Pool We are seeing some weird issues with Apache translating a 401 from a backend haproxy to 502 to the client. The request gets logged as 401 in haproxy logs, but apache logs it as 502 and sends a 502 back to the client. This can be

Re: [users@httpd] Mod-Proxy and Mod-Headers

2011-09-21 Thread Suneet Shah
Hi Igor, thanks for your help. I will try this out suneet On Wed, Sep 21, 2011 at 1:20 AM, Igor Cicimov wrote: > Hi mate, > > Try something like this for the example you gave > http://host/myapp?userid=abc&role=myrole: > > RewriteEngine on > Options +FollowSymLinks

Re: [users@httpd] mod_rewrite?

2011-09-21 Thread topinambour ####
Sorry An mistake url redirect gives a broken link! 2011/9/20 topinambour > good morning > > Yes i tried it without \? > no match :-( > > but with standard output with : > RewriteRule ^(.*)$ > and no putting ^lang=fr$ in RewriteRule in old URL > because it's automatic with RewriteCond %{QUER