Results 1 to 36 of 36

Thread: [RESOLVED] Web server - download EXE

Threaded View

  1. #20
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Web server - download EXE

    Get rid of getf.php and add the following to a .htaccess file in or above the directory containing the exe files.

    Code:
    AddType application/octet-stream .exe 
    <FilesMatch "\.exe$">
    	Header set "Content-disposition" "attachment"
    </FilesMatch>
    Last edited by penagate; Jun 29th, 2010 at 10:23 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width