Re: [users@httpd] Infinite loop with RewriteRule

2005-05-31 Thread Jan Eden
André Malo wrote on 31.05.2005: >* Arne Heizmann <[EMAIL PROTECTED]> wrote: > >>Boyle Owen wrote: I have a problem with the following RewriteRule causing an infinite loop: RewriteCond %{HTTP_HOST} (first|second|third|fourth) RewriteRule ^(.+)$ %1/$1 [L,R,NC] >>> >>>You do

RE: [users@httpd] Infinite loop with RewriteRule

2005-05-31 Thread Jan Eden
Boyle Owen wrote on 31.05.2005: >>RewriteCond %{HTTP_HOST} (first|second|third|fourth) RewriteRule >>^(.+)$ %1/$1 [L,R,NC] > >You do understand what ^(.+)$ converts to? It means: "from the >start, 1 or more of any character (greedy), to the end" > >That is, it will match the entire URI, no matter

Re: [users@httpd] Infinite loop with RewriteRule

2005-05-31 Thread André Malo
* Arne Heizmann <[EMAIL PROTECTED]> wrote: > Boyle Owen wrote: > >> > >> I have a problem with the following RewriteRule causing an infinite > >> loop: > >> > >> RewriteCond %{HTTP_HOST} (first|second|third|fourth) RewriteRule > >> ^(.+)$ %1/$1 [L,R,NC] > > > > You do understand what ^(.+)$ c

Re: [users@httpd] Infinite loop with RewriteRule

2005-05-31 Thread Arne Heizmann
Boyle Owen wrote: I have a problem with the following RewriteRule causing an infinite loop: RewriteCond %{HTTP_HOST} (first|second|third|fourth) RewriteRule ^(.+)$ %1/$1 [L,R,NC] You do understand what ^(.+)$ converts to? [...] it will match the entire URI, no matter what it is. But he h

RE: [users@httpd] Infinite loop with RewriteRule

2005-05-31 Thread Boyle Owen
> -Original Message- > From: Jan Eden [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 31. Mai 2005 10:01 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Infinite loop with RewriteRule > > > Hi, > > I have a problem with the following RewriteRule causing an > infinite loop: > > Re

[users@httpd] Infinite loop with RewriteRule

2005-05-31 Thread Jan Eden
Hi, I have a problem with the following RewriteRule causing an infinite loop: RewriteCond %{HTTP_HOST} (first|second|third|fourth) RewriteRule ^(.+)$ %1/$1 [L,R,NC] When requesting a URL like http://firsthost/something I end up getting something like http://firsthost/first/first/first/first/f