Re: [users@httpd] Smarter rewrite rule

2011-09-22 Thread Igor Cicimov
RewriteRule ^/(.*)$ /$1/ [R] in general or if you need only for appN where N is one or more digits then RiwriteRule ^/(app\d+)$ /$1/ [R] Not tested though Im writing this from my phone. On Sep 22, 2011 4:23 PM, "Michele Mase'" wrote: > Hi folks, I'using a lazy rule on my site: > ... > ProxyPas

Re: [users@httpd] mod_rewrite?

2011-09-22 Thread topinambour ####
Someone has an idea abot what to do thanks in advance 2011/9/21 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 ^(.*

Re: [users@httpd] Smarter rewrite rule

2011-09-22 Thread Rich Bowen
On Sep 22, 2011, at 2:23 AM, Michele Mase' wrote: > 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 /ap

Re: [users@httpd] mod_rewrite?

2011-09-22 Thread Tom Evans
On Thu, Sep 22, 2011 at 9:34 AM, topinambour wrote: > Someone has an idea abot what to do > thanks in advance > > Turn on the rewrite log, make some requests which you think should be rewritten, look at the rewrite log and work out why it wasn't. Cheers Tom ---

[users@httpd] mod expiry with proxy | Help required

2011-09-22 Thread Sandeep Kumar Kalpane
Hi, We have configured Apache 2 as reverse proxy and Tomcat as servlet container. We have configured mod_expiry as mentioned below. LoadModule expires_module modules/mod_expires.so ExpiresActive on ExpiresByType image/* M604800 ExpiresByType text/c

[users@httpd] How to simulate n requests to Apache

2011-09-22 Thread marco di sano
Hi all, i have this problem. I want to use *ab tool *to make N requests to a web server Apache. The option -g have this output: 1.starttime 2.seconds 3.ctime 4.dtime 5.ttime 6.wait Can someone explain me what is its meaning? Someone have some good link? Thanks a lot.

Re: [users@httpd] Smarter rewrite rule

2011-09-22 Thread Michele Mase'
So if app1 app2 and appn are pippo pluto paperino, the rules will be: ProxyPassMatch /(pippo|pluto|paperino) http://192.168.1.1/$1 RewriteRule ^/(pippo|pluto|paperino)$ /$1/ [R] ProxyPassReverse / http://192.168.1.1/ Correct? On Thu, Sep 22, 2011 at 12:41 PM, Rich Bowen

[users@httpd] plot response time of apache

2011-09-22 Thread marco di sano
Hi, someone knows as i plot Apache response time using ab tool? Thanks in advance.

Re: [users@httpd] mod_rewrite?

2011-09-22 Thread topinambour ####
good evening it seems that i do not have rewrite.log in /usr/local/var . An missing configuration after compiling httpd2.2.20? perhaps And in /var nothing too. So I think i have some "road" It's to say: It must remove ALL strings after an ? in final URL writting: RewriteEngine On RewriteBase

[users@httpd] Re: mod_proxy SSL forward proxy

2011-09-22 Thread mortee
On 09/22/2011 02:12, Eric Covener wrote: On Wed, Sep 21, 2011 at 6:32 PM, mortee wrote: Any ideas about this topic? Can't do it. Why is it sooo really impossible? It can recognise a plain HTTP request attempt on the SSL port, and it can return a reasonable error message. Then what's the

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

2011-09-22 Thread Robert.Aeschlimann
Gesendet mit meinem HTC - Reply message - Von: "mortee" An: "users@httpd.apache.org" Betreff: [users@httpd] Re: mod_proxy SSL forward proxy Datum: Fr., Sep. 23, 2011 05:02 On 09/22/2011 02:12, Eric Covener wrote: > On Wed, Sep 21, 2011 at 6:32 PM, mortee wrote: >> >> Any ideas abou

Re: [users@httpd] Smarter rewrite rule

2011-09-22 Thread Jorge Schrauwen
Alternatively you can also use mod_macro (http://www.cri.ensmp.fr/~coelho/mod_macro/) Personally I'm quite fond of this little module! ProxyPass $path/ $backend ProxyPassReverse $path/ $backend RewriteRule ^$path$ /$path/ [R] AppProxy /pippo http://192.168.1.1/ AppProxy /pluto ht