From: Ludovic CHEVALIER Date: Mon, 18 Apr 2016 14:19:21 +0000 (+0200) Subject: Correction : etc/nginx/site.d/lhc-wiklou/site.conf X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/%40%20%27entree_login%27%20=%3E%20%27Your%20login%27%2C%20%27entree_login_connexion_1%27%20=%3E%20%27Connection%20login%27%2C%20%27entree_login_connexion_2%27%20=%3E%20%27%28Sometimes%20matches%20your%20FTP%20account%20login%20and%20sometimes%20left%20empty%29%27%2C-%27entree_login_ldap%27%20=%3E%20%27Initial%20LDAP%20login%27%2C%20%27entree_mot_passe%27%20=%3E%20%27Your%20password%27%2C%20%27entree_mot_passe_1%27%20=%3E%20%27Password%27%2C%20%27entree_mot_passe_2%27%20=%3E%20%27%28Sometimes%20matches%20your%20FTP%20access%20password%20and%20sometimes%20left%20empty%29%27%2C%40%40%20-150%2C7%20%20121%2C7%20%40%40%20Do%20not%20submit%20this%20import%20request.%3Cp%3EFor%20more%20information%2C%20please%20see%20%3Ca%20href=?a=commitdiff_plain;h=c819716f6d45c705b7c651b24982ac22cf2b029d;p=lhc%2Fateliers.git Correction : etc/nginx/site.d/lhc-wiklou/site.conf --- diff --git a/etc/nginx/site.d/lhc-wiklou/site.conf b/etc/nginx/site.d/lhc-wiklou/site.conf index 5ef383c..5af1074 100644 --- a/etc/nginx/site.d/lhc-wiklou/site.conf +++ b/etc/nginx/site.d/lhc-wiklou/site.conf @@ -8,9 +8,9 @@ client_max_body_size 10m; location / { # Do this inside of a location so it can be negated + rewrite ^/index.php/(.*)$ /wiki/$1 permanent; location ~ \.php$ { try_files $uri $uri/ =404; # Don't let php execute non-existent php files - rewrite ^/index.php/(.*)$ /wiki/$1 permanent; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/run/php5/fpm/lhc_wiklou; fastcgi_index index.php ;