atom feed7 messages in ru.sysoev.nginxRe: running phpmyadmin on non-standar...
FromSent OnAttachments
maxxerFeb 3, 2012 2:00 am 
Edho AriefFeb 3, 2012 2:38 am 
Falko TimmeFeb 3, 2012 2:52 am 
maxxerFeb 3, 2012 2:58 am 
Edho AriefFeb 3, 2012 3:12 am 
ChrisFeb 3, 2012 8:10 am 
António P. P. AlmeidaFeb 3, 2012 8:36 am 
Subject:Re: running phpmyadmin on non-standard dir
From:Falko Timme (ft@falkotimme.com)
Date:Feb 3, 2012 2:52:51 am
List:ru.sysoev.nginx

http://www.howtoforge.com/running-phpmyadmin-on-nginx-lemp-on-debian-squeeze-ubuntu-11.04

Works with cgi.fix_pathinfo on and off.

----- Original Message ----- From: "maxxer" <ngin@nginx.us> To: <ngi@nginx.org> Sent: Friday, February 03, 2012 11:01 AM Subject: running phpmyadmin on non-standard dir

hi. I'm new to Nginx. I'd like to make serve phpmyadmin on a non-standard url. I'm on debian, and following this howto works great: http://rubyist-journal.com/2010/02/28/howto-nginx-php5-mysql-phpmyadmin-ubuntu-shortest-setup/

but if I change it this way:

location /pma { root /usr/share/phpmyadmin/; index index.php index.html index.htm; location ~ ^/(.+\.php)$ { try_files $uri =404; root /usr/share/phpmyadmin/; fastcgi_pass backend; fastcgi_param HTTPS $fastcgi_https; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$request_filename; include /etc/nginx/fastcgi_params; } }

I just get 404. 2 questions: * how to make it properly work? * how to debug these config errors?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,221927,221927#msg-221927