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
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.
--
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
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,
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
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
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
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