logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Allowing EXE file download (403 Forbidden error)
Author
glenn_cm



Joined: 03 Oct 2013
Posts: 2
Location: USA, Newbury Park

PostPosted: Thu 03 Oct '13 23:19    Post subject: Allowing EXE file download (403 Forbidden error) Reply with quote

Hello. We're running a departmental intranet site on Apache 2.2 (on Windows Server 2003, if that matters). I'm trying to figure out how to post exe files on the web site so I can create a link and users can download the programs. I spent most of the day yesterday searching the internet for ideas and trying various changes to my httpd.conf file, but no matter what I tried I get a 403 Forbidden error and the error.log file shows an error "Options ExecCGI is off in this directory:...". I'm hoping someone here can give me some pointers. I realize this is probably an easy one, but I haven't done much with the Apache configuration and I'm afraid I'm stuck.

A few added details that might help: 1) I've tried putting the EXE in various folders. 2) I don't have a .htaccess file and I don't see anything in the httpd.conf file that seems to specifically relate to access for this file type. 3) If I put a zip file in the same folders, I am able to download or open it. 4) The httpd.conf file should be whatever was created when we installed Apache. We haven't been doing anything fancy with it.

Thanks in advance if anyone can help!
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 04 Oct '13 3:45    Post subject: Reply with quote

All I can think of is that the .exe extension has been set as a cgi

AddHandler cgi-script .cgi .exe .pl
Back to top
glenn_cm



Joined: 03 Oct 2013
Posts: 2
Location: USA, Newbury Park

PostPosted: Sat 05 Oct '13 22:56    Post subject: Solved Reply with quote

That did the trick! Thank you.
Back to top


Reply to topic   Topic: Allowing EXE file download (403 Forbidden error) View previous topic :: View next topic
Post new topic   Forum Index -> Apache