]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dev/templates/default/apache.user.erb
Fix restarting of chef-client on Ubuntu 15.10 and newer
[chef.git] / cookbooks / dev / templates / default / apache.user.erb
index fd6be28be5ac18a7bcbc980d997357e7a8b5f492..f6afd675d0ee873595ce4872e06be6fbc0ff86a1 100644 (file)
@@ -25,6 +25,7 @@ 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>