CodeIgniter Forums
Can't seem to access favicon.ico - probably htaccess related - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Can't seem to access favicon.ico - probably htaccess related (/showthread.php?tid=37965)



Can't seem to access favicon.ico - probably htaccess related - El Forum - 01-26-2011

[eluser]Richard Testani[/eluser]
I'm not sure why, but my favicon doesn't seem to load, whether as part of a page or direct access.

Here is my htaccess:
Code:
RewriteEngine on

#Allow these urls to be accessed
RewriteCond $1 !^(index\.php|public|assets|user_guide|css|js|images|forum|press|robots\.txt|favico\.ico)
RewriteRule ^(.*)$ /index.php?/$1 [L]

This would seemingly allow access to the file, as I can access any of the others in the list properly.
Any ideas what would be the issue here?


Can't seem to access favicon.ico - probably htaccess related - El Forum - 01-26-2011

[eluser]BrianJM[/eluser]
I have nearly the same condition and it works fine.

Are you sure the favicon.ico is a valid favicon?
Code:
RewriteEngine on

RewriteCond $1 !^(index\.php|images|robots\.txt|public|favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]



Can't seem to access favicon.ico - probably htaccess related - El Forum - 01-26-2011

[eluser]John_Betong[/eluser]
[quote author="Richard Testani" date="1296079753"]I'm not sure why, but my favicon doesn't seem to load, whether as part of a page or direct access.

Here is my htaccess:
Code:
RewriteEngine on

#Allow these urls to be accessed
RewriteCond $1 !^(index\.php|public|assets|user_guide|css|js|images|forum|press|robots\.txt|favico\.ico)
RewriteRule ^(.*)$ /index.php?/$1 [L]

This would seemingly allow access to the file, as I can access any of the others in the list properly.
Any ideas what would be the issue here?[/quote]
 
Check the RewriteCont spelling of favicon\.ico - it appears to be missing the final n