On Sun, Dec 18, 2011 at 10:17 PM, tapir <nginx-forum@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
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx