HTTP directory redirect not using $host

Cliff Wells cliff at develix.com
Thu Sep 21 11:43:25 MSD 2006


On Thu, 2006-09-21 at 10:58 +0400, Igor Sysoev wrote:
> On Wed, 20 Sep 2006, Cliff Wells wrote:
> 
> > On Tue, 2006-09-19 at 16:09 -0700, Bob Ippolito wrote:
> >
> >> That should work. The wiki should probably be updated to say that * is
> >> a valid name, as long as it's not the first one. It currently implies
> >> that * can only be used to replace part of a domain, not the whole
> >> thing :)
> >
> > I updated the server_name and rewrite sections of the wiki to reflect
> > this.  Can someone review to make sure it's adequately explained (and
> > correct ;-)
> >
> > http://wiki.codemongers.com/NginxHttpRewriteModule#rewrite
> > http://wiki.codemongers.com/NginxHttpCoreModule#server_name
> 
> I have updated these pages.

Great! BTW, you can use `text` rather than {{{text}}} for things that
are only one or two words (triple curly braces are only required for
multiple lines).

Cliff

-- 






More information about the nginx mailing list