summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-11 07:39:03 +0000
committeralecpl <alec@alec.pl>2008-10-11 07:39:03 +0000
commit34942eb10424cf678a1db9d2055d8daf57e1a731 (patch)
tree6f12b0f714a4d5b4ee63755fdab208e986656eed /.htaccess
parent9e951be64d8baa11f253f00f4634f63694e7e3bc (diff)
#1485375, #1485491
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