.htaccess mod rewrite help please asap!

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
ianhull
Forum Contributor
Posts: 310
Joined: Tue Jun 14, 2005 10:04 am
Location: Hull England UK

.htaccess mod rewrite help please asap!

Post by ianhull »

Hi all not been here for a while.

I have an issue, my website is working when i do this http://www.mydomain.com/index.html
but if i got http://www.mydomain.com i just get a blank white page.

same with mydomain.com/index.html works fine
but mydomain.com gives a blank white page

if i try mysubdomain.mydomain.com it works just fine.

any ideas?

Thanks in advance.

I have been using mod rewrite and it has all been working fine for ages.

What could have happened?

I checked my DNS and evrything is the same.

Code: Select all

//.htaccess
RewriteEngine on
RewriteBase /
RewriteRule ^(.*)_([0-9]+).html$ item.php?itemID=$2 [L]
RewriteRule ^(.*).html$ $1.php [L]
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^rss.xml$ rss.php [L]
is there a RewriteRule i could use for mydomain.com/ to mydomain.com/index.html without messing up my other Rules?


WOW i just noticed this is only in FF3, and IE8, Opera works
Post Reply