Thank you very much Igor. It works.by Amanager - Nginx Mailing List - English
Hello, I have a problem with my location rules. I would like to generate a generic location rule for each folder that contains a WordPress installation. location / { try_files $uri $uri/ /index.html; } location /user1/ { try_files $uri $uri/ /user1/index.php?q=$uri&$args; } location ~* ^/(user2|user3)/ { try_files $uri $uri/ /$1/index.php?q=$uri&$arby Amanager - Nginx Mailing List - English
Hello stickaforkinme. I have the same problem. Have you find a solution? Thanks.by Amanager - Nginx Mailing List - English
Thanks to you edogawaconan and everybody. Now it works fine except for php sessions that do not work but that's another problem. Thank you again to all.by Amanager - Nginx Mailing List - English
I have an error now when i restart nginx. /etc/init.d/nginx restart Restarting nginx: : pcre_compile() failed: unrecognized character after (? or (?- in "^/phpmyadmin/(?.+\.php)$" at ".+\.php)$" in /etc/nginx/sites-enabled/default:65 configuration file /etc/nginx/nginx.conf test failed I have this code in /etc/nginx/sites-available/default server { listen 80by Amanager - Nginx Mailing List - English
Igor Sysoev Wrote: ------------------------------------------------------- > Use late 0.8.x with this configuration: > > location ~ ^/phpmyadmin/(?.+\.php)$ { > fastcgi_pass 127.0.0.1:9000; > fastcgi_param SCRIPT_FILENAME /var/www/monsite.fr/phpMyAdmin/$NAME; > include fastcgi_params; > } I tried this code but it does not work. I still have the heaby Amanager - Nginx Mailing List - English
Hello, I try to set up a simple alias louse find out how. I read many articles. I almost try everything but nothing works. Currently I have this code in the file /etc/nginx/sites-available/default. server { listen 80; root /var/www/monsite.fr; index index.html index.htm index.php; server_name monsite.fr; location /phpmyadmin {by Amanager - Nginx Mailing List - English