Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-07-05 23:21:32

andrea
Member
From: la la land
Registered: 2004-02-24
Posts: 62
Website

favicon.png isn't displaying - error page

hi ~ i’ve had to change web hosts and don’t have access to recent backups. any images i put in the root or subdirectories don’t show up unless i upload them through textpattern. for example, favicon.png is in the root, but when i try to view it in my browser, i get a 404. i tried changing from clean urls to messy urls, but that didn’t do a thing. i’m thinking it’s the htaccess page – any help on this? thank you so much!

#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]

	RewriteCond %{REQUEST_URI} !=/favicon.png
	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

#SVG
AddType image/svg+xml  svg svgz
AddEncoding gzip       svgz

{Edited to add Textile’s bc.. to save any characters that Textile potentially changes otherwise. – Uli}

Last edited by uli (2013-07-07 10:32:02)

Offline

Board footer

Powered by FluxBB