Re: [users@httpd] apache configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes - ForceType. 
http://httpd.apache.org/docs-2.0/mod/core.html#forcetype

something like 

ForceType application/octet-stream

inside the Directory block ought to do it.

On Thu, 7 Apr 2005, Fabio Marcone wrote:

> Hi!
> really I need to download all files contained in a fixed directory (not based 
> on mime type).
> 
> TypeConfig parameter is not allowed in <Directory>...</Directory> directive. 
> 
> Does exist a parameter to change mime type in Directory directive?
> 
> Fabio
> 
> Alle 16:56, giovedì 07 aprile 2005, Ivan Barrera A. ha scritto:
> > Fabio Marcone wrote:
> > > hi!
> > > what mime-type?
> > >
> > > I try to change default mime-type but none changed.
> >
> > I think you dont want to make every txt file downloadable, so you could
> > try to use a cgi or php script that parses the file, and send it as a
> > application/octet-stream type...
> >
> > > Fabio
> > >
> > > Alle 16:47, giovedì 07 aprile 2005, Ivan Barrera A. ha scritto:
> > >>Changing Mime-Type shoud do it
> > >>
> > >>Fabio Marcone wrote:
> > >>>Hi!
> > >>>I need to configure Apache to download file indicated in url (and not
> > >>>show it), like php file when php module isn't loaded.
> > >>>
> > >>>example: writing http://www.server.it/prova.txt in my browser I want to
> > >>>download prova.txt.
> > >>>
> > >>>I think it is possible, but I don't know how.
> > >>>
> > >>>Thanks,
> > >>>Fabio
> > >>
> > >>---------------------------------------------------------------------
> > >>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
> >
> > ---------------------------------------------------------------------
> > 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
> 
> 

-- 
Craig Dunigan
IS Technical Services Specialist (I don't know what it means, either)
Middleware - Enterprise Info Systems - Department of Info Technology
University of Wisconsin, Madison

opinions expressed are my own, not the University's



---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux