I had a web site that goes to a directory for users to download data. The web browser that the users use is locked down to not allow the user to right click. So, I need to have the user click on the file to down load it to there system. I can get csv files and other extentions to request the user to save or open (dialog box). I can not get files with the extention of xml to request the same save or open dialog box. They just go to the next screen and present the data. I tried renaming the xml files to a different extension, but it behaves the same way. I am guessing that files with xml code in them are treated differently.
I have mainly tried the following directive.
AddType application/octet-stream .xml
AddType application/octet-stream xml
AddType application/octet-stream .XML
AddType application/octet-stream XML
Does anyon have any ideas on how to get these files to download rather than be presented as web pages?
The stanzas fall under a virual host.
Thanks,
Mark