Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Kai Hendry
On Tue, Aug 27, 2013 at 01:28:42PM +0100, Francis Daly wrote: > +w allows you to create files in a directory. Sorry I meant to say +w I think I must have got confused with one of my server blocks and not the wildcard. Sorry to trouble you. it seems to be to working. :-) __

Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Francis Daly
On Tue, Aug 27, 2013 at 08:24:12PM +0800, Kai Hendry wrote: > On Tue, Aug 27, 2013 at 03:32:29PM +0400, Maxim Dounin wrote: Hi there, > > : - the user whose credentials are used by worker processes should have > > : permissions to create files in a directory with such logs; > > /var/log/nginx ha

Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Kai Hendry
On Tue, Aug 27, 2013 at 03:32:29PM +0400, Maxim Dounin wrote: > : - the user whose credentials are used by worker processes should have > : permissions to create files in a directory with such logs; /var/log/nginx has +x on http user, so that's fine. > : - buffered writes do not work; Not sure w

Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Maxim Dounin
Hello! On Tue, Aug 27, 2013 at 04:43:12PM +0800, Kai Hendry wrote: > Hi there, > > I've tried to replicate my Apache VirtualDocumentRoot /srv/www/%0 to > nginx. > > I have http://dabase.com/e/04055/ with > > server_name ~^(?.*)$; > root /srv/www/$vhost; > access_log /var/log/

VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Kai Hendry
Hi there, I've tried to replicate my Apache VirtualDocumentRoot /srv/www/%0 to nginx. I have http://dabase.com/e/04055/ with server_name ~^(?.*)$; root /srv/www/$vhost; access_log /var/log/nginx/$vhost.access.log; However it's still logging to /var/log/nginx/access.log i