Send PHP requests to PHP-FPM without checking the file exists
authorTom Hughes <tom@compton.nu>
Fri, 21 Nov 2014 00:15:38 +0000 (00:15 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 21 Nov 2014 00:15:38 +0000 (00:15 +0000)
cookbooks/dev/templates/default/apache.user.erb

index 11955a0bd026a6310a21e1481e6783b075cfc1c8..fd6be28be5ac18a7bcbc980d997357e7a8b5f492 100644 (file)
@@ -25,7 +25,6 @@ WSGIDaemonProcess <%= @user %>.dev.openstreetmap.org user=<%= @user %> inactivit
        RewriteCond <%= @directory %>%{REQUEST_FILENAME} -f
        RewriteRule ^/cgi-bin-d/(.*)$ /cgi-bin/cgiwrapd/~<%= @user %>/cgi-bin/$1 [PT,L]
 
-       RewriteCond <%= @directory %>%{REQUEST_FILENAME} -f
        RewriteRule ^/(.*\.ph(p|ps|p3|tml)(/.*)?)$ fcgi://127.0.0.1:<%= @port %><%= @directory %>/$1 [P]
 </VirtualHost>