Carl Carpenter wrote:
I just brought up an Apache2 webserver on Fedora Core 6. Copied the content from my old Apache 1.3 server and thought it was working fine. Then someone clicked on a PowerPoint slideshow file (.pps) and received a screen full of gibberish instead of the option to open the file in PowerPoint. Can anyone tell me why and how to fix it? I've verified the file--it's fine. If I point the browser to a .ppt file, it prompts for an application or to save. But not the .pps. I have gone through the conf file but don't see anything closely related. Have made only minor changes to default config file. Thanks in advance for your help.
---------------- End original message. ---------------------This is a MIME type issue. Your server needs to be configured to associate the .pps extension with the correct MIME type for a PowerPoint file so it can serve the correct content type header when the file is sent.
The correct MIME type for this type of file is application/vnd.ms-powerpoint Then see: http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addtypeIf the Apache server does not know what the correct MIME type of a file is, it attempts to serve it as text/plain. This is why you are seeing "gibberish", the raw file is being rendered as plain text in the browser.
Dragon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Venimus, Saltavimus, Bibimus (et naribus canium capti sumus) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx