I have moved a web site to my Linux server, Apache 1.3x

it all works OK, EXCEPT:

the user has a directories with no index pages where he keeps PDF brochures
is the user browses directory, anc, click on PDF, it opens OK

if the user pastes a complete url
http://www.name.tld/files/brochures/A_NAME.pdf

his IE6 insists on downloading the file, NOT opening in Acrobat;
then complains, unable to open web site

- his current path/file names *are* MiXeD case (to be lower cased soon)

so, : directory browsing, file select, OPENS OK
pasting above URL, doesn't work

is it a MIME type issue ?

I have:

# grep pdf /etc/mime.types
application/pdf                 pdf

and

# grep mime httpd.conf

#LoadModule mime_magic_module  modules/mod_mime_magic.so
LoadModule mime_module        modules/mod_mime.so
#AddModule mod_mime_magic.c
AddModule mod_mime.c
  mod_gzip_item_include         mime       ^text/html$
  mod_gzip_item_include         mime       ^text/plain$
  mod_gzip_item_include         mime       ^httpd/unix-directory$
  mod_gzip_item_exclude         mime       ^image/
<IfModule mod_mime.c>
    TypesConfig /etc/mime.types
<IfModule mod_mime_magic.c>
#   MIMEMagicFile /usr/share/magic.mime
<IfModule mod_mime.c>

-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to