httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Campbell" <apa...@evasive.com>
Subject RE: [users@httpd] ForceType not working properpy for httpd-2.0.52-3.1
Date Mon, 17 Jan 2005 00:12:59 GMT
Ok, gotta ask the question I was avoiding.. how do I do that?

Thomas

> -----Original Message-----
> From: Dick Davies [mailto:rasputin@hellooperator.net] On Behalf Of Dick Davies
> Sent: Sunday, January 16, 2005 6:10 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] ForceType not working properpy for httpd-2.0.52-3.1
> 
> * Thomas Campbell <apache@evasive.com> [0133 11:33]:
> > Hi all,
> >
> > It appears that ForceType isn't working properly for httpd-2.0.52-3.1 but I wanted
to confirm
> before submitting a bug.
> >
> > Here's the relevant information from my httpd.conf file:
> >
> > <VirtualHost 192.168.0.24:80>
> >    ServerAdmin test-mysystem@evasive.com
> >    ServerName  test-mysystem.evasive.com
> >
> >    DocumentRoot   /ns02/webs/httpd.test-mysystem.evasive.com/htdocs
> >
> >    <Directory        />
> >       IndexOptions   FancyIndexing VersionSort FoldersFirst HTMLTable IconsAreLinks
> >       Options        Includes Indexes FollowSymLinks
> >       AllowOverride  None
> >       order          allow,deny
> >       allow          from all
> >
> >    </Directory>
> >
> >    <Directory        /ns02/webs/httpd.test-mysystem.evasive.com/htdocs/test2
>
> >       ForceType application/msword
> >    </Directory>
> > </VirtualHost>
> >
> > And /etc/mime.types:
> >
> > application/x-sh     sh
> >
> > If the file I attempt to retrieve is a file with the extension of ".sh" from the
directory
> > /ns02/webs/httpd.test-mysystem.evasive.com/htdocs/test2 then it comes back as "Unknown
File Type"
> which I believe means it is
> > picking up the "application/x-sh" from /etc/mime.types  If I put any other type
of file extension
> in that directory (that doesn't
> > have a setting in /etc/mime.types) then it works properly (tries to load it as a
word document)
> 
> Check what mime-type apache is sending - I know some IE versions do stupid things with
mime
> negotiation based
> on extension.
> 
> --
> 'Some people, when confronted with a problem, think I know, I'll use
> regular expressions. Now they have two problems.'
> 		-- Jamie Zawinski
> Rasputin :: Jack of All Trades - Master of Nuns
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.12 - Release Date: 1/14/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 1/16/2005


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message