atom feed17 messages in ru.sysoev.nginxRe: Alias does not work with php
FromSent OnAttachments
tapirDec 17, 2011 1:42 am 
Maxim DouninDec 17, 2011 4:55 am 
tapirDec 17, 2011 6:46 am 
tapirDec 17, 2011 6:58 am 
Edho AriefDec 17, 2011 7:31 am 
tapirDec 17, 2011 8:04 am 
Edho AriefDec 17, 2011 8:35 am 
Edho AriefDec 17, 2011 8:36 am 
tapirDec 17, 2011 8:53 am 
Valentin V. BartenevDec 17, 2011 9:11 am 
tapirDec 17, 2011 9:21 am 
Edho AriefDec 17, 2011 9:37 am 
tapirDec 18, 2011 7:03 am 
tapirDec 18, 2011 7:17 am 
Edho AriefDec 18, 2011 8:18 am 
tapirDec 18, 2011 8:34 am 
António P. P. AlmeidaDec 18, 2011 9:26 am 
Subject:Re: Alias does not work with php
From:Edho Arief (ed@myconan.net)
Date:Dec 18, 2011 8:18:11 am
List:ru.sysoev.nginx

On Sun, Dec 18, 2011 at 10:17 PM, tapir <ngin@nginx.us> wrote:

I'm sorry it does not work. I didn't test it properly before.

here is my settings: http://pastebin.com/Ln0ccKJw

when I go to mydomain.com it redirects to wordpress so it works but if I go to mydomain.com/pma it says "404 not found"

this line

location /pma { root /usr/share/nginx/www/phpmyadmin;

will cause nginx to search for relevant files in /usr/share/nginx/www/phpmyadmin/pma. For example

http://host.com/pma/index.php -> root: /usr/share/nginx/www/phpmyadmin $uri: /pma/index.php therefore it checks: /usr/share/nginx/www/phpmyadmin/pma/index.php