| From | Sent On | Attachments |
|---|---|---|
| Phil Bayfield | Nov 16, 2010 5:16 am | |
| Phil Bayfield | Nov 16, 2010 6:27 am | |
| Maxim Dounin | Nov 16, 2010 6:48 am | .txt |
| Phil Bayfield | Nov 16, 2010 7:01 am | |
| Maxim Dounin | Nov 16, 2010 10:24 am | |
| António P. P. Almeida | Nov 16, 2010 10:31 am | |
| Maxim Dounin | Nov 16, 2010 11:01 am | |
| Phil Bayfield | Nov 16, 2010 12:14 pm | |
| Maxim Dounin | Nov 16, 2010 12:32 pm | |
| Phil Bayfield | Nov 17, 2010 4:36 am | |
| Maxim Dounin | Jan 5, 2011 11:59 pm | .txt |
| Subject: | Re: Issue with upstream | |
|---|---|---|
| From: | Maxim Dounin (mdou...@mdounin.ru) | |
| Date: | Nov 16, 2010 12:32:19 pm | |
| List: | ru.sysoev.nginx | |
Hello!
On Tue, Nov 16, 2010 at 08:14:34PM +0000, Phil Bayfield wrote:
If you order them 000, 001, 002 that is the same order as the filesystem returns:
phil@proxy:~$ ls -l /etc/nginx/sites-enabled/ total 0 lrwxrwxrwx 1 root root 28 2010-11-12 22:56 000-l* lrwxrwxrwx 1 root root 27 2010-11-13 00:19 000-u* lrwxrwxrwx 1 root root 26 2010-11-13 02:06 100-p* lrwxrwxrwx 1 root root 29 2010-11-13 00:20 101-d* lrwxrwxrwx 1 root root 33 2010-11-15 20:30 200-p* lrwxrwxrwx 1 root root 46 2010-11-15 20:30 201-s* lrwxrwxrwx 1 root root 50 2010-11-16 14:11 202-p*
ls returns sorted results, see here:
http://www.opengroup.org/onlinepubs/9699919799/utilities/ls.html
Maybe not the case on all OS? This solution worked perfectly for me, Ubuntu 10.10 server :)
Some filesystems may return sorted results, but it's unlikely to be so in your case.
Maxim Dounin
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx






.txt