mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- do not display serverside events in calendar - include gems in item comparison .. also parse their stats in setup - filters use conditions and are more restrictive - changed DBSimple version so it uses mysqli (mysql is deprecated as of php 5.5) - moved each filter class to matching type; file for baseType and BaseFilter - baseType querys are somewhat modular, trying to avoid ridiculous joins that WILL occur sometimes (especially with items) as far as possible
33 lines
1.0 KiB
ApacheConf
33 lines
1.0 KiB
ApacheConf
Order Deny,Allow
|
|
<FilesMatch "\.(conf|php|tpl|in)$">
|
|
Deny from all
|
|
</FilesMatch>
|
|
<FilesMatch "^(index)\.php$">
|
|
Allow from all
|
|
</FilesMatch>
|
|
|
|
# Block view of some folders
|
|
Options -Indexes
|
|
DirectoryIndex index.php
|
|
|
|
# Support for UTF8
|
|
AddDefaultCharset utf8
|
|
<IfModule mod_charset.c>
|
|
CharsetDisable on
|
|
CharsetRecodeMultipartForms Off
|
|
</IfModule>
|
|
|
|
php_value default_charset UTF-8
|
|
|
|
RewriteEngine on
|
|
|
|
# Mapper-Helper: If you cant provide maps for all locales, redirect the browser
|
|
RewriteRule ^images/maps/(frfr|dede|eses|ruru)/(.*)$ images/maps/enus/$2 [NC]
|
|
|
|
# accept flattened urls | NYI - need more work :x
|
|
RewriteRule ^([a-z0-9\-]+)$ ?$1 [NC] # /items => ?items
|
|
RewriteRule ^([a-z0-9\-]+)=([^?&]*)$ ?$1=$2 [NC] # /items=4.1 => ?items=4.1
|
|
RewriteRule ^([a-z0-9\-]+)=([^?&]*)[&?](.*)$ ?$1=$2&$3 [NC] # /items=4.1?filter=sl=7 => ?items=4.1&filter=sl=7
|
|
|
|
|