You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2007/09/12 15:33:12 UTC

Re: [users@httpd] Apache 2.2 - Change in default behavior when a .exe file is clicked

On 9/12/07, Robert Gann <ga...@hartwick.edu> 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.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2.2 - Change in default behavior when a .exe file is clicked

Posted by Nick Kew <ni...@webthing.com>.
On Wed, 12 Sep 2007 09:50:23 -0400
Robert Gann <ga...@hartwick.edu> wrote:

> The apache error log has the phrase "URL file extension is restricted
> by policy".

That's not an apache error message.  Could be a third-party extension
(mod_security?) or something enforced at the O/S level.
Check your docs for whatever you have installed.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org