Hi Eneal (and others), Why do you want to rewrite before redirecting? That's the 4th request like this we saw very recently on this ML and I want to know what's happenging (maybe it deserves a blog post :p )
Baptiste On Mon, Oct 7, 2013 at 12:13 PM, Errol Neal <[email protected]> wrote: > Hi all. I sent this earlier last week. Still having some trouble getting it > to work. > I'm just trying to redirect all requests to http://www.$domain.com. > Based on some googling, here is what I have: > > acl host_www hdr_beg(host) -i www. > reqirep ^Host:\ (.*)$ Host:\ www.\1 if !host_www > > Then I try to redirect.. > > redirect code 301 prefix / if host_www > > But the above redirect line seems to generate a loop. > Can anyone share any thoughts? > > Someone replied something about 301 redirects for POSTs being a bad idea, > which doesn't apply to me. > > Thanks in advance. >

