atom feed14 messages in ru.sysoev.nginxRe: Error with config when upgrading ...
FromSent OnAttachments
Jools WillsJun 17, 2009 3:37 pm 
Edho P AriefJun 17, 2009 7:33 pm 
Jools WillsJun 17, 2009 11:43 pm 
Edho P AriefJun 18, 2009 12:08 am 
Igor SysoevJun 18, 2009 12:40 am 
Edho P AriefJun 18, 2009 1:13 am 
Igor SysoevJun 18, 2009 1:21 am 
Edho P AriefJun 18, 2009 1:39 am 
Igor SysoevJun 18, 2009 1:46 am 
Jools WillsJun 18, 2009 4:17 am 
Jools WillsJun 18, 2009 4:21 am 
Igor SysoevJun 18, 2009 4:33 am 
Jools WillsJun 20, 2009 8:27 am 
Igor SysoevJun 20, 2009 8:37 am 
Subject:Re: Error with config when upgrading from 0.6.34 to 0.7.59 (the "alias" directive must use captures inside location given by regular expression)
From:Igor Sysoev (is@rambler-co.ru)
Date:Jun 18, 2009 4:33:43 am
List:ru.sysoev.nginx

On Thu, Jun 18, 2009 at 12:17:31PM +0100, Jools Wills wrote:

On Thu, 2009-06-18 at 11:41 +0400, Igor Sysoev wrote:

You should use just:

locaiton ~ ^/~([^/]+)(/?.*)$) { alias /home/$1/public_html/$2; autoindex on; }

will this work since the $homedir part was set in an earlier location.

or you are saying this is a replacement for all the blocks of code I had before ?

Yes, this is full replacememnt.