mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
rather enforce interpretation as php for aowow/aowow than hiding it (wich broke filter forms)
This commit is contained in:
14
.htaccess
14
.htaccess
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user