backing up shopserver1p apache config
[eostre.git] / drupal-configs / apache2 / mods-enabled / php7.2.conf
similarity index 82%
rename from drupal-configs/shopserver/apache2/mods-enabled/php5.conf
rename to drupal-configs/apache2/mods-enabled/php7.2.conf
index 2e9772fbfa55c575099a0b5dfbcb88d5605ffc0c..d4df3e5f77fe0ccd83532bc84f66524ae0f026f4 100644 (file)
@@ -1,4 +1,4 @@
-<FilesMatch ".+\.ph(p[345]?|t|tml)$">
+<FilesMatch ".+\.ph(ar|p|tml)$">
     SetHandler application/x-httpd-php
 </FilesMatch>
 <FilesMatch ".+\.phps$">
@@ -6,13 +6,11 @@
     # Deny access to raw php sources by default
     # To re-enable it's recommended to enable access to the files
     # only in specific virtual host or directory
-    Order Deny,Allow
-    Deny from all
+    Require all denied
 </FilesMatch>
 # Deny access to files without filename (e.g. '.php')
-<FilesMatch "^\.ph(p[345]?|t|tml|ps)$">
-    Order Deny,Allow
-    Deny from all
+<FilesMatch "^\.ph(ar|p|ps|tml)$">
+    Require all denied
 </FilesMatch>
 
 # Running PHP scripts in user directories is disabled by default