Fixed bug #4883: mod_rewrite rules rewrite missing favicon.ico to index.php (thanks...
authorMichael Stucki <michael.stucki@typo3.org>
Wed, 7 Feb 2007 00:16:06 +0000 (00:16 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Wed, 7 Feb 2007 00:16:06 +0000 (00:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2014 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
misc/advanced.htaccess
misc/simple.htaccess

index ac46180..0e750ae 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-02-07  Michael Stucki  <michael@typo3.org>
 
        * Release of TYPO3 4.1RC1
+       * Fixed bug #4883: mod_rewrite rules rewrite missing favicon.ico to index.php (thanks to Stefan Geith for this hint - notice that manual modification of existing .htaccess files might be neccessary)
        * Added feature #4476: Allow limitation of config.linkVars
        * Fixed bug #4917: Wrong links inside mounted page with overlay (thanks to Melanie Meyer / Franz Ripfel)
 
index d31119f..a2e2831 100644 (file)
@@ -56,8 +56,8 @@ RewriteEngine On
 
 # Stop rewrite processing if we are in the typo3/ directory
 # For httpd.conf, use this line instead of the next one:
-# RewriteRule ^/TYPO3root/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
-RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
+# RewriteRule ^/TYPO3root/(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
+RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
 
 # Redirect http://mysite/typo3 to http://mysite/typo3/index_re.php
 # and stop the rewrite processing
index e6ab99b..6564f52 100755 (executable)
@@ -1,4 +1,4 @@
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule   ^typo3$  typo3/index_re.php
-RewriteRule   ^[^/]*\.html$  index.php
\ No newline at end of file
+RewriteRule   ^[^/]*\.html$  index.php