
gannr at hartwick
Sep 12, 2007, 6:50 AM
Post #3 of 4
(576 views)
Permalink
|
|
Re: Apache 2.2 - Change in default behavior when a .exe file is clicked
[In reply to]
|
|
The apache error log has the phrase "URL file extension is restricted by policy". The only two AddHandler statements I have in httpd.conf are AddHandler send-as-is asis AddHandler type-map var And one that appears in the middle of a <IfModule mod-include.c> <Directory "/var/www/erro"> Joshua Slive wrote: On 9/12/07, Robert Gann <gannr [at] hartwick> wrote: I hope this is not a FAQ, but I've searched and been unable to find an answer. I've just migrated to Fedora Linux 7, with Apache 2.2. When I connect to Apache with a Win XP computer using Mozilla Firefox, if I click on a .zip file, I am offered the option to download it. However, if I click on a .exe file, I get an Internal Server Error 500. In Fedora Linux 6, using the same configuration on the Windows computer, clicking on both the .zip and .exe files brought up a dialog box where they could be downloaded. I assume that some default configuration has changed, but have not been able to ascertain what it might be. Thanks for any help you are able to render. I really appreciate it. Start by looking in the apache error log to see what is causing the 500 error. Likely the file is being treated as a CGI script because of a misplaced AddHandler directive. Joshua. -- Robert Gann, Ph Robert Gann, Ph.D. Professor and Chair Department of Computer and Information Sciences 327 Johnstone Science Center Hartwick College One Hartwick Drive Oneonta, New York 13820 Email: gannr [at] hartwick Phone: (607) 431-4761 Fax: (607) 431-4374 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe [at] httpd " from the digest: users-digest-unsubscribe [at] httpd For additional commands, e-mail: users-help [at] httpd
|