View Full Version : Firefox can't see my 'index.html'
japamor
2008-07-30, 04:08 AM
I need help please. |huh|huh|angry||angry||banghead|
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?
justbondage
2008-07-30, 07:09 AM
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)?
Hi japamor , what version of FF do you have ?
FF 3 it's still in beta , there are still some bugs to fix.
justbondage
2008-07-30, 07:30 AM
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.
Simon
2008-07-30, 07:34 AM
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?
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.
japamor
2008-07-30, 01:20 PM
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. :)
Useless
2008-07-30, 01:32 PM
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.That allowed you to execute PHP within HTML pages. You better make sure that you didn't have any includes on your HTML pages.
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|
virgohippy
2008-07-30, 01:34 PM
AddType application/x-httpd-php .html
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. |angry|
DangerDave
2008-07-30, 07:29 PM
One choice is to change the AddType line to and AddHandler line, that usually fixes the problem..
DD
Scroto
2008-07-31, 01:58 AM
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|
I just noticed that as well, very poor coding |crazy|
japamor
2008-07-31, 04:56 AM
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
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.