14 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 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
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)Actions...
From:Jools Wills (bu@exotica.org.uk)
Date:Jun 18, 2009 4:17:08 am
List:ru.sysoev.nginx

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 ?

Best Regards

Jools