Hi there; Quoting John <[EMAIL PROTECTED]>:
> Also if anyone can tell me how to get Apache to open a save as window > for a particular file type by default ie .gz I would much appreaciate > it. If anyone clicks on these files rather than asking you if you want > to save them it just opens them in the browser. I know it is propably a > Apache 101 question but I can't seem to find the answer either in my > Apache book or on google. > This should happen as the default action if there is not something wrong. If it's not the case for you then you need to make sure if it's an Apache issue or IE issue. Just check with another client. If the same thing happens with a diffrent browser, then chances are that your Apache is sending incorrect content-type header for your .gz files. To check it do the following: [root@ root]# telnet www.myserver.com 80 Escape character is '^]'. <you type> HEAD <your-uri> HTTP/1.1 host: www.myserver.com <you get> HTTP/1.1 200 OK Date: Thu, 18 Dec 2003 16:09:41 GMT Content-Length: 31223 Connection: close Content-Type: text/html <---- Connection closed by foreign host. [root@ root]# --- If you see text/html or text/text as the Content-Type then your apache is misconfigured. Perhaps your /etc/mime.types is missing or corrupt. Or perhaps you need to check different AddType directives inside your Apache config file. Hope it helps you, Mohsen Moeeni, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
