Files
aowow/.htaccess
Sarjuuk 7af4931b58 implemented details, lists and filters on quests
- some filter are still missing
 - didn't bother with the mapper yet
 - zoneOrSort is still inconsistent for instances

 - merged all queststarter/-ender into one single table
 - removed $template-parameter from addGlobalsToJscript and access it through Util
 - dropped error.tpl and 404.tpl and moved the error-text to aowow_articles
 - misc improvements here and there
2014-04-05 22:04:27 +02:00

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 ^static/images/wow/maps/(frfr|dede|eses|ruru)/(.*)$ static/images/wow/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