PDA

View Full Version : Getting "File Download"



sector05
05-13-2008, 11:45 PM
Hello, I'm at my wits end when it comes to this issue.

I'm trying to access a site I have setup at www.dragonwingdesign.com (http://www.dragonwingdesign.com), which is setup as an addon domain. All I get at this domain is a File Download dialog box, which tries to download the index.html for that directory.

The strange part about that domain is that dragonwingdesign.com has a redirect (which I did not create and can't get rid of) to /404.html.

Any ideas?

Thanks!

Early Out
05-13-2008, 11:55 PM
Must be a problem with your own PC/browser. When I go to that site, I get a web page, "A Balanced Life Health Care." The URL without "www" also works just fine.

Offhand, I can't even think of any setting that would fail to open a simple .html file, at least not one that wouldn't also render almost all other websites inaccessible.

sector05
05-14-2008, 09:30 AM
Can't be the PC/browser issue because I get the same result at work, and on the PC's at school (which are imaged every night).

Early Out
05-14-2008, 09:32 AM
Don't know what to tell you - I'm consistently getting your web page at that URL, and not anything else!

sector05
05-14-2008, 09:38 AM
Thanks for your effort. It's definately not a browser issue because I got the same result with IE7, Firefox, and Safari (all on same pc)

Early Out
05-14-2008, 09:50 AM
Ah! A clue - Firefox has no problem with it, but IE7 complains loudly.

I can't figure out what's going on, but something is turning a simple call to your website into a call for a file called "dragonwing_com", with no file extension. That would appear to be the subdirectory for the addon domain, but it's actually the index.html file, renamed! Do you have something weird in your .htaccess file?

You may need to get with the BH folks via Live Chat, since none of us can poke around in your account to see what's happening.

Bob Barr
05-14-2008, 10:03 AM
I'm getting the site displayed correctly with Opera and Firefox but IE7 is prompting for me to download it. AFICT, the downloaded file is the HTML for the site.

I wonder if the "<!--[if lt IE 7]>" conditional is causing the problem when it's used with IE7. Since Opera and Firefox do work but IE7 doesn't, that may be a clue to the problem.

sector05
05-14-2008, 10:03 AM
Here's my .htaccess contents:

AddType x-mapp-php5 .php .html
RedirectMatch inc/* /404.html
ErrorDocument 404 /404.html
Options -Indexes

Early Out
05-14-2008, 10:11 AM
Beyond my level of expertise, but since you don't have to have an .htaccess file at all, try renaming it to .hthold, and see what happens. I have a funny feeling about telling the server to cough up .html files as php types.

sector05
05-14-2008, 10:15 AM
Yeah, I felt that too. I'm updating a client's website and the previous designer decided to call PHTML files using PHP for the head and footer sections of her website.

Edit: deleting the .htaccess file from the dragonwingdesign folder doesn't work.