Um, the solution is in the very message you've replied to: ForceType On Fri, 15 Apr 2005, Karim Hamed-Abdelouahab wrote: > Hi Fabio, > I'have the same problem like you. > > I'm working on an application developped on PHP, I want to > allow the download of some documents without sending the > directory of the document, I'm wondering how did you resolve it? > I mean in configuration of the web-server and how can you send > it to the client. > > the php 4.3.3 application is running on Linux with apache 1.3.3. > HTTPS connection is allowed. > > Best regards. > Karim > ----- Original Message ----- > From: "Fabio Marcone" <fabio.marcone@xxxxxxx> > To: <users@xxxxxxxxxxxxxxxx> > Sent: Thursday, April 07, 2005 5:14 PM > Subject: Re: [users@httpd] apache configuration > > > Thanks a lot! > > now works fine. > > Fabio > Alle 17:02, giovedì 07 aprile 2005, Craig Dunigan ha scritto: > > 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