httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dick Davies <rasput...@hellooperator.net>
Subject Re: [users@httpd] ForceType not working properpy for httpd-2.0.52-3.1
Date Mon, 17 Jan 2005 11:45:10 GMT
* Thomas Campbell <apache@evasive.com> [0113 00:13]:
> Ok, gotta ask the question I was avoiding.. how do I do that?

A simple way is just

telnet server 80
GET /path/to/a/file/in/that/dir HTTP/1.0
<enter again>

and read the 'content-type' apache sends.
 
> > -----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.
> > >
> > >    <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 

-- 
'common sense is what tells you that the world is flat.'
		-- Principia Discordia
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


Mime
View raw message