Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

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

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


gannr at hartwick

Sep 12, 2007, 6:08 AM

Post #1 of 4 (590 views)
Permalink
Apache 2.2 - Change in default behavior when a .exe file is clicked

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.
--
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


joshua at slive

Sep 12, 2007, 6:33 AM

Post #2 of 4 (573 views)
Permalink
Re: Apache 2.2 - Change in default behavior when a .exe file is clicked [In reply to]

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.

---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


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


nick at webthing

Sep 12, 2007, 7:16 AM

Post #4 of 4 (570 views)
Permalink
Re: Apache 2.2 - Change in default behavior when a .exe file is clicked [In reply to]

On Wed, 12 Sep 2007 09:50:23 -0400
Robert Gann <gannr [at] hartwick> 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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.