summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess9
1 files changed, 6 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index c98c30a8e..9f8d22c46 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,6 +1,7 @@
# AddDefaultCharset UTF-8
AddType text/x-component .htc
+<IfModule mod_php5.c>
php_flag display_errors Off
php_flag log_errors On
php_value error_log logs/errors
@@ -17,15 +18,17 @@ php_value session.auto_start 0
php_value session.gc_maxlifetime 21600
php_value session.gc_divisor 500
php_value session.gc_probability 1
+</IfModule>
<FilesMatch "(\.inc|\~)$">
Order allow,deny
Deny from all
</FilesMatch>
-<IfModule mod_alias.c>
- Redirect /favicon.ico /skins/default/images/favicon.ico
+<IfModule mod_rewrite.c>
+RewriteEngine On
+RewriteRule ^favicon.ico$ skins/default/images/favicon.ico
</IfModule>
-
+
Order deny,allow
Allow from all