How do you make a file through a browser at an FTP site directly go
into a download mode through Apache when the user clicks the link,
instead of opening the file in a new page?

I heard it can be done by changing the MIME type: e.g.
application/octet-stream, rather than text/plain.

In conf/srm.conf there is the following.

     # DefaultType is the default MIME type for documents which
     the server
     # cannot find the type of from filename extensions.

     DefaultType text/plain

Could this be the way to control it and how do you make the change
effective besides changing the above line?

I also heard an .htaccess file in the directory can direct the type of
action with the file selected by the user. How does it work and is it
effective?

*************************************************************************

Signed,
Daniel D. Munden

P.'S. Detailed Documentation(s) and Sample(s) are more than welcome.


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to