httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Gann <ga...@hartwick.edu>
Subject Re: [users@httpd] Apache 2.2 - Change in default behavior when a .exe file is clicked
Date Wed, 12 Sep 2007 13:50:23 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The apache error log has the phrase "URL file extension is restricted
by policy".<br>
<br>
The only two AddHandler statements I have in httpd.conf are<br>
<br>
AddHandler send-as-is asis<br>
AddHandler type-map var<br>
<br>
And one that appears in the middle of a <br>
&lt;IfModule mod-include.c&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Directory "/var/www/erro"&gt;<br>
<br>
Joshua Slive wrote:
<blockquote
 cite="mid:e498c1660709120633kb5113b9p8e986a003d9781e2@mail.gmail.com"
 type="cite">
  <pre wrap="">On 9/12/07, Robert Gann <a class="moz-txt-link-rfc2396E" href="mailto:gannr@hartwick.edu">&lt;gannr@hartwick.edu&gt;</a>
wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> 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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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.

  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 10">
<meta name="Originator" content="Microsoft Word 10">
<link rel="File-List" href="signature_files/filelist.xml">
<title>Robert Gann, Ph</title>
<o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
<o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceType">
<o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street">
<o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State">
<o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"><!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Robert Gann</o:Author>
  <o:LastAuthor>Robert Gann</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>5</o:TotalTime>
  <o:Created>2006-12-16T12:58:00Z</o:Created>
  <o:LastSaved>2006-12-16T12:58:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>37</o:Words>
  <o:Characters>211</o:Characters>
  <o:Company>Hartwick College</o:Company>
  <o:Lines>1</o:Lines>
  <o:Paragraphs>1</o:Paragraphs>
  <o:CharactersWithSpaces>247</o:CharactersWithSpaces>
  <o:Version>10.6811</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--
[if !mso]><object
 classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
<div class="Section1">
<p class="MsoNormal"><b style="">Robert Gann, Ph.D.<o:p></o:p></b></p>
<p class="MsoNormal">Professor and Chair</p>
<p class="MsoNormal">Department of Computer and Information Sciences</p>
<p class="MsoNormal">327 Johnstone Science Center</p>
<p class="MsoNormal"><st1:place><st1:PlaceName>Hartwick</st1:PlaceName>
<st1:PlaceType>College</st1:PlaceType></st1:place></p>
<p class="MsoNormal"><st1:Street><st1:address>One Hartwick Drive</st1:address></st1:Street></p>
<p class="MsoNormal"><st1:place><st1:City>Oneonta</st1:City>, <st1:State>New
York</st1:State> <st1:PostalCode>13820</st1:PostalCode></st1:place></p>
<p class="MsoNormal">Email:<span style="">&nbsp;
</span><a class="moz-txt-link-abbreviated" href="mailto:gannr@hartwick.edu">gannr@hartwick.edu</a></p>
<p class="MsoNormal">Phone:<span style="">&nbsp; </span>(607) 431-4761</p>
<p class="MsoNormal">Fax:<span style="">&nbsp; </span>(607) 431-4374</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

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


Mime
View raw message