| From | Sent On | Attachments |
|---|---|---|
| baalchina | Sep 27, 2011 7:55 pm | |
| Simon Liu | Sep 27, 2011 8:02 pm | |
| suttles | Oct 11, 2011 7:52 am | |
| Simon Liu | Oct 11, 2011 8:16 am | |
| suttles | Oct 11, 2011 8:21 am | |
| Simon Liu | Oct 11, 2011 8:40 pm | |
| suttles | Oct 12, 2011 11:19 am | |
| suttles | Oct 17, 2011 9:19 am | |
| gigabyte | Jan 5, 2012 11:36 pm | |
| Ian Hobson | Jan 6, 2012 2:30 am | |
| Edho Arief | Jan 6, 2012 2:36 am | |
| gigabyte | Jan 6, 2012 3:38 am | |
| Edho Arief | Jan 6, 2012 3:40 am | |
| gigabyte | Jan 6, 2012 4:25 am | |
| Edho Arief | Jan 6, 2012 4:47 am | |
| gigabyte | Jan 6, 2012 5:45 am | |
| Edho Arief | Jan 6, 2012 5:48 am | |
| gigabyte | Jan 6, 2012 6:01 am | |
| Edho Arief | Jan 6, 2012 6:06 am | |
| gigabyte | Jan 6, 2012 6:23 am |
| Subject: | Re: why my php file in subdirectory doesn't work? | |
|---|---|---|
| From: | Edho Arief (ed...@myconan.net) | |
| Date: | Jan 6, 2012 2:36:02 am | |
| List: | ru.sysoev.nginx | |
On Mon, Oct 17, 2011 at 11:19 PM, suttles <ngin...@nginx.us> wrote:
Update on my problem.... if the URL is typed this way http://www.domain.com/subdirectory it will not pull up the site, but when the URL is typed http://www.domain.com/subdirectory/ the site comes up immediately. How to do force nginx to put the trailing slash onto the subdomains?
either
location = /subdirectory { rewrite ^ $uri/?$args permanent; }
or
try_files $uri $uri/ =404;
or
symlink in root instead of redefining root in location /subdirectory/
or
location /subdirectory { ... } ##note that this one kind of not what you expect. /subdirectorysomething will match this location.
-- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________ nginx mailing list ngi...@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx





