Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite IE blank page

mod_rewrite

         

barcin25

10:36 am on Sep 6, 2006 (gmt 0)

10+ Year Member



I have problem.

I use subdomains on my hosted server. I created one website and I wanted to use URL rewriting. So I created .htaccess file in subdomain directory with the following rules:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
RewriteRule ^n/([0-9a-zA-Z]+)$ [sub.domain.com...]

RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
RewriteRule ^t/([0-9a-zA-Z]+)/([0-9]+)$ [sub.domain.com...]

RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
RewriteRule ^code/([0-9a-zA-Z]+)$ [sub.domain.com...]

RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
RewriteRule ^s/([0-9]+)$ [sub.domain.com...]

RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
RewriteRule ^k/([0-9a-zA-Z]+)/([0-9]+)$ [sub.domain.com...]

RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
RewriteRule ^u/([0-9a-zA-Z]+)/([0-9]+)$ [sub.domain.com...]

RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
RewriteRule ^login/([a-zA-Z]+)$ [sub.domain.com...]

RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
RewriteRule ^dodaj$ [sub.domain.com...]

When I access site via Firefox, it works perfect.
When I access site via Internet Explorer 6 stange things happen:
I'm in this location: [sub.domain.com...] I have a list of topics. I click one of them (URL is [sub.domain.com...] Result? I get blank page, I can't see source code in the notepad and the URL in the address bar is still the same: [sub.domain.com...]

When I click refresh button, requested page is shown.

I used this mod_rewrite code in other subdomain/site on the same server in it works perfect on both browsers, so what's the problem here? Please help.

Best regards,

barcin