httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Felt <mamf...@gmail.com>
Subject Re: [users@httpd] Problem with Content-Type recognition
Date Sun, 22 Jun 2014 20:29:34 GMT
Maybe I need to put it somewhere else?

...
<Directory "/aixtools/dl.aixtools">
    DefaultType application/octet-stream
    <Files *.I>
    RemoveEncoding .php
    ForceType application/octet-stream
    </Files>
    Options Indexes FollowSymLinks
        IndexOptions FancyIndexing Namewidth=* FoldersFirst
SuppressDescription
## VersionSort
        IndexOrderDefault Descending Date
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
</VirtualHost>

Still getting Content-Type: text/html when .php is in the filename.


On Sat, Jun 21, 2014 at 6:05 PM, Eric Covener <covener@gmail.com> wrote:

> On Sat, Jun 21, 2014 at 10:45 AM, Michael Felt <mamfelt@gmail.com> wrote:
> > Question: what do I need to do to get httpd to recognize the .I endings
> > and/or ignore .php when in the middle of a filename?
>
>
> <Files *.I>
> ForceType  foo/bar
> </Files>
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message