]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dev/templates/default/apache.user.erb
Send PHP requests to PHP-FPM without checking the file exists
[chef.git] / 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>