|
2008-07-30, 03:08 AM | #1 |
I Love Turkish Delight, they're very moreish.
Join Date: Nov 2004
Location: UK
Posts: 578
|
Firefox can't see my 'index.html'
I need help please.
When I open 'domain.com/index.shtml' in my browser, the appropriate file opens correctly, but when I try to open 'domain.com/index.html', Firefox treats it as a download and opens a local folder named file:///C:/DOCUME~1/Chris/LOCALS~1/Temp/index-2.html - it doesn't seem to see the index.html as a web page at all. Anyone got any ideas?
__________________
|
2008-07-30, 06:09 AM | #2 |
I want to set the record straight - I thought the cop was a prostitute
Join Date: Jun 2008
Posts: 293
|
Do you have anything insane in your .htaccess file?
Do you have anything else like index.php uploaded. What happens when you go to domain.com/ (without specifying index.html)? |
2008-07-30, 06:21 AM | #3 |
Shift Out / X-On
|
Hi japamor , what version of FF do you have ?
FF 3 it's still in beta , there are still some bugs to fix. |
2008-07-30, 06:30 AM | #4 |
I want to set the record straight - I thought the cop was a prostitute
Join Date: Jun 2008
Posts: 293
|
pclit - FF3 isn't in beta, and if the bug was trying to download .html files instead of parsing them, well that is one hell of a bug.
|
2008-07-30, 06:34 AM | #5 |
That which does not kill us, will try, try again.
|
Does it happen on all sites you visit or only your own?
If only your own, does it happen on all of your sites? Do the sites where this is happening display the index.html page in other browsers you have?
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2008-07-30, 06:44 AM | #6 |
Shift Out / X-On
|
Few random sites didn't work for me too, but don't remember which ones.justbondage you right but even if Mozilla states it's not beta enymore , FF 3 is still new and needs some fix.If his site work in other browsers right , that means there is something wrong with his FF version.( assuming you using new FF 3 ).
Japamor give us full address so we can see what's going on on our computers. |
2008-07-30, 12:20 PM | #7 |
I Love Turkish Delight, they're very moreish.
Join Date: Nov 2004
Location: UK
Posts: 578
|
I think its fixed now.
It was only happening on 2 of my domains and in both the .htaccess file had one line: AddType application/x-httpd-php .html I don't know what this line is supposed to do but when I took it out everything worked fine. Thanks for the help everyone.
__________________
|
2008-07-30, 12:32 PM | #8 | |
Certified Nice Person
|
Quote:
EDIT: I just viewed the source of the index of the link list in your sig. It's a mess. I mean really, really bad. Be happy that any browser can view that page. You have <HTML> tags and <HEAD> sections popping up at least two more times lower in your page. It's insane. |shocking|
__________________
Click here to purchase a bridge I'm selling. Last edited by Useless; 2008-07-30 at 12:39 PM.. |
|
2008-07-30, 12:34 PM | #9 |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
This turns all .html pages into PHP parsed pages. Definitely remove this if you don't need it.
With PHP (or any dynamic content) if there is no header stating the content type then FF won't know how to treat html. I'm going with a FF3 bug on this one. Edit: Damn UW beat me by two minutes.
__________________
~Warm and Fuzzy. Last edited by virgohippy; 2008-07-30 at 12:37 PM.. |
2008-07-30, 06:29 PM | #10 |
Bonged
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
|
One choice is to change the AddType line to and AddHandler line, that usually fixes the problem..
DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<< DangerDave.com.au - Adult Links to Free Porn |
2008-07-31, 12:58 AM | #11 | |
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
|
Quote:
|
|
2008-07-31, 03:56 AM | #12 |
I Love Turkish Delight, they're very moreish.
Join Date: Nov 2004
Location: UK
Posts: 578
|
Thanks for the help guys.
I think I've got rid of all the extraneous head and body tags now. In my ignorance I thought that SSI's had to be complete files, including head, body tags etc. The extra tags didn't show up in my own code but did in View-Source. Cheers
__________________
|
|
|