Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Permissions on Windows (Forbidden Error)

Status
Not open for further replies.

m0m074

Programmer
Apr 9, 2005
1
US
Hello.

I have an Apache server up and running on Windows 2003 (first-time user), but I'm having problems with file downloads. I'm able to access .pdf and .doc files that are linked on a web page, but when I link a .exe file it gives me the following message:

Forbidden
You don't have permission to access /webapp/html/downloads/j2re-1_4_2_06-windows-i586-p.exe on this server.


What do I need to do to allow website visitors access to this file? They need to be able to download this as a prerequisite to running the Java applet that I have. Thanks in advance.
 
m0m074,

Most likely this problem is caused by your server not knowing what to do with the file extension .exe. Normally, this would be server execution of the file, which is not what you want.

You could use the AddHandler directive to specify what to do with these files
or
or you could compress the files or create .msi installers.

Of these, compressing the files as .zip would probably be the simplest.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top