Re: [EMAIL PROTECTED] exact matching in mod_rewrite

2008-05-29 Thread Severin Gehwolf
Hi! > I am looking for some advice on how to do exact matching for > mod_rewrite, I have the 2 rules in my config: > > Rule1 > > RewriteRule ^/nokian95 /phones.php?id=555 [PT,QSA,NS,NE] > RewriteCond %{REQUEST_URI} ^(.*)phones\.php(.*)$ > RewriteCond %{QUERY_STRING} ^id\=555$ > RewriteRule ^

Re: [EMAIL PROTECTED] Incorporating apr-1.3.2 into httpd-2.2.9 build

2008-07-01 Thread Severin Gehwolf
Hi! > Making install in apr-util > make[2]: Entering directory `.../apache_builds/httpd-2.2.9/srclib/apr-util' > .../apache_builds/httpd-2.2.9/srclib/apr/build/mkdir.sh > .../apache_2.2.9_rel01/lib/apr-util-1 > /bin/bash: -c: line 1: syntax error near unexpected token `;' > /bin/bash: -c: line 1:

Re: [Fwd: [EMAIL PROTECTED] Redirect URL with arguments]

2008-07-02 Thread Severin Gehwolf
Hi! > thaznks for your answer. I've try to use : > > RedirectMatch /.* http://www.mydomain.com > > Unfortunately, I'm still getting redirect with the arguments I pass in > the URL. How about using RewriteRule (mod_rewrite) like the following: RewriteEngine On RewriteRule ^/.*$ http://www.your

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Severin Gehwolf
Hi! > Is it possible to start or stop 1 virtual host and keep the others running? As one httpd binary would server several virtual hosts you would not be able to stop one virtual host by stopping the httpd process. However, an easy workaround would be to include only specific virtual host configu

Re: [EMAIL PROTECTED] set http header with mod_rewrite

2008-07-16 Thread Severin Gehwolf
Hi! > Here are more details: > > I have an apache server (front.example.com) configured as a reverse > proxy, and requests are actually handled by apache servers not > directly reachable from the outside. Those apache servers > (back1listening on 10.0.0.1 and back2 on 10.0.0.2) are configured for

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Severin Gehwolf
On Wed, 2008-07-16 at 13:10 +, Melanie Pfefer wrote: > Actually I am looking for > > 1 apache installation > Have independent instances: logs, conf and bin. > > VHosts does not seem to have a log, conf and bin for each instance . Why would you need independent instances of bin? Concerning "

Re: [EMAIL PROTECTED] Problems with some charsets ??

2007-12-11 Thread Severin Gehwolf
Hi! > I been asked to migrate a software localisation website from Fedora 9 to > Centos 5. Unfortunately much of the content of the site was developed using > FrontPage on windows. I'm having trouble with the display of some > characters. For instance the apostrophe in english text and accents

Re: [EMAIL PROTECTED] URL redirection

2007-12-20 Thread Severin Gehwolf
Hi! > Could you please advise if this can be done in apache? > http://server1/OpenObject?doc=ERW > to be redirected to: > http://server2:9000/OpenObject?doc=ERW > I mean everything that starts with /OpenObject to be > redirected to server2:9000 with the same trailing > string /OpenObject?doc=ERW o

Re: [EMAIL PROTECTED] URL redirection

2007-12-20 Thread Severin Gehwolf
ups... > RewriteEngine On > RewriteRule ^/(OpenObject.*) http://server2:9000/$1 [P,L] > ProxyPassReverse / http://server1/ of course the ProxyPassReverse directive should look like ProxyPassReverse / http://server2:9000/ --- severin

Re: [EMAIL PROTECTED] how to re-read the configuration without restarting apache

2007-12-20 Thread Severin Gehwolf
> I need to add these 2 lines to my conf file: > > RewriteEngine On > RewriteRule ^/(OpenObject.*) http://server2:9000/$1 Melanie, you should alter the latter line (above) to RewriteRule ^/(OpenObject.*) http://server2:9000/$1 [R=301,L] This way, browsers are able to cache the request (R=301) a