rather enforce interpretation as php for aowow/aowow than hiding it (wich broke filter forms)

This commit is contained in:
Sarjuuk
2015-07-11 19:14:47 +02:00
parent 54695a9490
commit ce82a8f09f

View File

@@ -1,11 +1,15 @@
Order Deny,Allow Order Deny,Allow
<FilesMatch "\.(conf|php|in)|aowow$"> <FilesMatch "\.(conf|php|in)$">
Deny from all Deny from all
</FilesMatch> </FilesMatch>
<FilesMatch "^(index)\.php$"> <FilesMatch "^(index)\.php$">
Allow from all Allow from all
</FilesMatch> </FilesMatch>
<Files "aowow">
ForceType application/x-httpd-php
</Files>
# Block view of some folders # Block view of some folders
Options -Indexes Options -Indexes
DirectoryIndex index.php DirectoryIndex index.php
@@ -13,8 +17,8 @@ DirectoryIndex index.php
# Support for UTF8 # Support for UTF8
AddDefaultCharset utf8 AddDefaultCharset utf8
<IfModule mod_charset.c> <IfModule mod_charset.c>
CharsetDisable on CharsetDisable on
CharsetRecodeMultipartForms Off CharsetRecodeMultipartForms Off
</IfModule> </IfModule>
# 5MB should be enough for the largest screenshots in the land # 5MB should be enough for the largest screenshots in the land