rather enforce interpretation as php for aowow/aowow than hiding it (wich broke filter forms)
This commit is contained in:
parent
54695a9490
commit
ce82a8f09f
1 changed files with 9 additions and 5 deletions
14
.htaccess
14
.htaccess
|
|
@ -1,11 +1,15 @@
|
|||
Order Deny,Allow
|
||||
<FilesMatch "\.(conf|php|in)|aowow$">
|
||||
Deny from all
|
||||
<FilesMatch "\.(conf|php|in)$">
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
<FilesMatch "^(index)\.php$">
|
||||
Allow from all
|
||||
Allow from all
|
||||
</FilesMatch>
|
||||
|
||||
<Files "aowow">
|
||||
ForceType application/x-httpd-php
|
||||
</Files>
|
||||
|
||||
# Block view of some folders
|
||||
Options -Indexes
|
||||
DirectoryIndex index.php
|
||||
|
|
@ -13,8 +17,8 @@ DirectoryIndex index.php
|
|||
# Support for UTF8
|
||||
AddDefaultCharset utf8
|
||||
<IfModule mod_charset.c>
|
||||
CharsetDisable on
|
||||
CharsetRecodeMultipartForms Off
|
||||
CharsetDisable on
|
||||
CharsetRecodeMultipartForms Off
|
||||
</IfModule>
|
||||
|
||||
# 5MB should be enough for the largest screenshots in the land
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue