Re: [users@httpd] Query regarding "mod_rewrite" module when handling URLs, containing "POST" data

2013-09-03 Thread Ajay Garg
Ahh.. thanks !!! :) More specifically, we wanted the re-directions to work only for GET-requests. So, RewriteCond %{REQUEST_METHOD} GET did the trick !!! Thanks a ton for the prompt reply :) On Wed, Sep 4, 2013 at 12:42 AM, Daniel Gruno wrote: > On 09/03/2013 09:06 PM, Aj

Re: [users@httpd] cgi interpreters

2013-09-03 Thread Eric Covener
On Tue, Sep 3, 2013 at 4:05 PM, azurIt wrote: > Hi, > > is it, somehow, possible to set CGI script interpreters in linux? For example: > - interpterer for .py is /usr/bin/python > - .sh is /bin/bash > etc. Check out the Action directive. You'll probably need to write a small wrapper. --

[users@httpd] cgi interpreters

2013-09-03 Thread azurIt
Hi, is it, somehow, possible to set CGI script interpreters in linux? For example: - interpterer for .py is /usr/bin/python - .sh is /bin/bash etc. It's impossible, in our environment, to run scripts directly because partition is mounted with noexec (for security reasons). But we are allowing to

Re: [users@httpd] Query regarding "mod_rewrite" module when handling URLs, containing "POST" data

2013-09-03 Thread Daniel Gruno
On 09/03/2013 09:06 PM, Ajay Garg wrote: > Hi all. > > In our setup, we need to do conditional-redirects. > Till now, we were able to accomplish them, by using a smart combination > of "RewriteCond", "RewriteRule" and "QSA". > > However, we now face a situation, wherein we need to do re-directs,

[users@httpd] Query regarding "mod_rewrite" module when handling URLs, containing "POST" data

2013-09-03 Thread Ajay Garg
Hi all. In our setup, we need to do conditional-redirects. Till now, we were able to accomplish them, by using a smart combination of "RewriteCond", "RewriteRule" and "QSA". However, we now face a situation, wherein we need to do re-directs, only if the original-URL does not contain POST-variable

RE: [users@httpd] Apache 2.4 ReverseProxy Issue

2013-09-03 Thread Womann, Sven
I figured out the following: I run a 2.4.6 Apache as reverse proxy in front of serveral backend servers. Therefor I use Rewrite with P flag and ProxyPassReverse. My config looks like this: RewriteRule ^/cms/(([a-z]{2})(-[a-z]{2})?)_([a-z]{2,})/(.*)$ http://twww2_I.example.com:8080/cps/rde/xchg

[users@httpd] documentRoot and directory relative to serverroot

2013-09-03 Thread David Ecker
Hi, I'm trying to set DocumentRoot and the following directory directive relative to ServerRoot: DocumentRoot "../web" DocumentRoot is working, but the Directory directive is not. It won't match. If I change the directory directive to an absolute path it will work. Any idea how I can get

Re: [users@httpd] server-status page: meaning of "W" in multitier architecture

2013-09-03 Thread Tom Evans
On Tue, Sep 3, 2013 at 7:34 AM, Massimiliano De Ruosi wrote: > Now I understand, thank you. > > Any suggestion about profiling a request using mod_proxy as a reverse proxy? > Reading mod_proxy documentation I didn't find a useful solution (except > lowering Timeout/ProxyTimeout to get some informa