Re: [users@httpd] mod_rewrite?

2011-09-20 Thread 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 %{QUERY_STRING} -->> Output browser in other place in home network reject URL -->302 merci! thanks

[users@httpd] apache analysis

2011-09-20 Thread Amira Othman
Hi all I want to install software on my server to analyze traffic served by apache and check performance. what software should I use?? I am using httpd-2.2.3-53.el5.vm on CentOS 5.6 Regards

Re: [users@httpd] apache analysis

2011-09-20 Thread Mark Montague
On September 20, 2011 11:05 , "Amira Othman" wrote: I want to install software on my server to analyze traffic served by apache and check performance. what software should I use?? I am using httpd-2.2.3-53.el5.vm on CentOS 5.6 For analyzing traffic, the answer depends on what you want to

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

2011-09-20 Thread Suneet Shah
Hello, I had a question about Mod-Proxy and Mod_headers 1) Is it possible to take a values that are on a query string and pass them as headers? If so how? For example, if I have: http://host/myap?userid=abc&role=myrole I would like to take the values in the query string and pass them as headers

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

2011-09-20 Thread Igor Cicimov
Use mod_rewrite to set variable and then set that var as header. On Sep 21, 2011 7:32 AM, "Suneet Shah" wrote: > Hello, > > I had a question about Mod-Proxy and Mod_headers > > 1) Is it possible to take a values that are on a query string and pass them > as headers? If so how? > For example, if I

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

2011-09-20 Thread Suneet Shah
Thanks Igor. Would you be able to point me to an example? I dont fully understand how I can configure this to take a parameter of the query string and then set a variable as a header. thanks for your help On Tue, Sep 20, 2011 at 6:29 PM, Igor Cicimov wrote: > Use mod_rewrite to set variable a

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

2011-09-20 Thread Igor Cicimov
Hi mate, Try something like this for the example you gave http://host/myapp?userid=abc&role=myrole: RewriteEngine on Options +FollowSymLinks RewriteCond QUERY_STRING userid=(.*)&role=(.*) RewriteRule ^/myapp$ [E=var1:%1,var2:%2] RequestHeader append use