Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- mime problem?
- Bob Chmara
December 22, 2004, 4:21 am
rate this thread
prompt me to open or save the file.
The file is an index file, index.php. When I try to open it from the root
of the domain. domain.com (or www.domain.com), I get a dialog box asking if
I wish to open the file or save it.
If I open any other PHP script in the root of the domain, it parses and
If I open the file from a sub domain, sub.domain.com, it works properly.
If I open it locally (XP Pro SP2, Apache 2.0.48, PHP 4.3.4.), it works
If I open it on another machine, it works properly.
Clearly, it has something to do with my machine, but given the limited
circumstances under which the problem occurs, I'm struggling to figure out
what the problem might be. Any help would be appreciated.
Re: mime problem?
Something to try:
telnet domain.com 80
GET /index.php HTTP/1.0^M
Inspect the headers and see what it's sending you. (Particularly the
My guess is it's a vhost configuration issue.
http://www.geniegate.com Custom web programming
firstname.lastname@example.org (rot13) User Management Solutions