Re: Apache 2.2 - Change in default behavior when a .exe file is clicked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Robert Gann, Ph
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@xxxxxxxxxxxx> 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.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@xxxxxxxxxxxx

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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux