Re: [Pound Mailing List] Too many redirects

Paolo Nesti Poggi <[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
Actually  I think you should substitute the ^ with a dot.  (anything)
Because you don't need to match anything special apart from what you 
already have catched inside %1%.

RewriteRule . http://%1%{REQUEST_URI} [R=301,L]

/paolo

Den 19-06-2013 12:37, Martijn de Dood skrev:
> Sorry.
> Did not hit reply but started a new message.
>
>
>
> ------------------------------------------------------------------------
> From: [email protected]
> To: [email protected]
> Date: Wed, 19 Jun 2013 12:33:14 +0200
> Subject: [Pound Mailing List] Too many redirects
>
> Thanks for all the answers.
>
> Removing the space between ^ and http stops the loop but it also 
> doesn't rewrite anymore.
> It also occurs when doing in PHP a location / redirect 301.
>
> RewriteLocation:
> This was the solution.
> When setting rewritelocation to 0 the redirects are working.
>
> Tnx!
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.