yes thank you! i guess i just forgot to put the root directive... or better for my case to set the alias: location ~ ^/phpmyadmin/(.*)(\.php)$ { alias /usr/share/phpmyadmin/; fastcgi_pass upstream_backend; etc... }by kalinski - Nginx Mailing List - English
Hi Paxxil, thanks for your swift reply, actually that's not exactly what I meant: there is two directories for dynamic content (php): default: /var/www/nginx_default/ or similar which will usually work for your code above (catching all urls ending with .php) with the SCRIPT_FILENAME path set to the right dir but then there is another one: /usr/share/phpmyadmin/ that i wanby kalinski - Nginx Mailing List - English
Hallo Everybody, I have a working default config, catching /index.html and /index.php fine (incl. passing php request to an upstream backend runing php-fpm) now i want the server to serve requests to 'anydomain.com/phpmyadmin/index.php' or even just 'anydomain.com/phpmyadmin/' from /usr/share/phpmyadmin for static content this should be easy with something like this: location /phpby kalinski - Nginx Mailing List - English