Topic: Mod Rewrite Problem?? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=27846" title="Pages that link to Topic: Mod Rewrite Problem?? (Page 1 of 1)" rel="nofollow" >Topic: Mod Rewrite Problem?? <span class="small">(Page 1 of 1)</span>\

 
H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 04-27-2006 05:39

Hi All,

I am having some very strange issue here.... I am mod rewriting my domains so that they all include the 'www' . So domain.com becomes www.domain.com, www.domain.com stays as www.domain.com.

code:
RewriteEngine on 
RewriteCond %{HTTP_HOST} !^www.iisoft.biz$ [NC]
RewriteRule ^(.*)$ http://www.iisoft.biz/$1 [L,R=301]



I have done this as a permanent redirect which i beleive is the way search engines like it.

The Problem:
In IE6 (possibly others) After i use the rewrite my css menu behaves strangely - if you move your mouse quickly up and down the menu each menu item flashes grey before showing the proper background, and takes a bit of time to show it properly, so you can see a wave effect as you move up and down the menu.

Now without this mod rewrite it doesnt happen, also if i redirect everything to the non-www location using the exact same mod-rewrite, it all works fine.

Why would the mod rewrite be having any effect on how the css displays?


To me it seems like its causing the images used in the css menu rollover type buttons not to cache?

You can see the problem here at www.iisoft.biz

(Edited by H][RO on 04-27-2006 05:39)

H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 04-27-2006 06:48

Hmm okay i think i know why, I had absolute url's in the css file, which were without the www

I turned rewrite off in the image folder to fix it temporarily



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu