You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by jalil <ja...@securia.com> on 2004/02/06 19:22:58 UTC

[users@httpd] How to configure running a file when downloaded?

I am new to Apache and wanted to set up a download directory in my web 
server to do the following:

- if a file has an .xpi extension, ask the client (browser) for 
permission to run (install) the file
- if any other file that is not text, ask client for permission to 
download it

I think I need to at least send the right file type info to browser but 
I don't know exactly how in Apache and also dont know if I need to use 
any speecial handler in this case or not. Could somebody tell me what I 
need to do exactly or point me to the right documentation.

Thanks,

-Jalil


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