<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>Apache HTTP Server Project</TITLE>
</HEAD>

<BODY>
<H1 ALIGN="CENTER">
<IMG SRC="../images/apache_logo.gif" ALT=""><BR><BR>
Known bugs/problems with the<BR>Apache HTTP Server</H1>

<P>See Also: <A HREF="compat_notes.html">Compatibility notes</A></P>
<HR>

<H2>Version 1.1b2 (beta)</h2>
<OL>
       <LI>SunOS has trouble compiling mod_status.c . It'll be fixed
       before 1.1 is released.</LI>

       <LI>CGI which spawn background processes may fail to return immediately.
       No fix exists yet.</LI>

</OL>
<H2>Version 1.1b1 (beta)</h2>
<OL>
	<LI>The logfile can sometimes contain only part of a host
	address.  This occurs if the Cookie module is compiled in
	and enabled.  
</OL>

<H2>Version 0.8.16 (beta)</H2>
<OL>
  <LI>(Feature) You cannot use relative pathnames for the -f or -d flags
 to httpd.<p>
  <LI><code>.asis</code> files cannot be used for content-negotiation.
</OL>

<H2>Version 0.8.13 (beta)</H2>

<OL>
  <LI><CODE>AddDescription</CODE> doesn't seem to work (a fix is imminent)</LI>
</OL>

<H2>Version 0.8.11 (beta)</H2>
<OL>
  <LI><CODE>http_main.c</CODE> function <CODE>accept_mutex_init()</CODE>
 horrible bug, <CODE>lock_fname</CODE> should be defined larger, e.g.
 <CODE><BR>
     char lock_fname[30];
 </CODE>
 <BR><B>Ooops.</B>

<P>

 <LI>There's a bug with <B>NeXT</B>. Restarting the server causes an
   infinite loop. A fix has been provided by a user and should be included
   in a future update.

<P>

</OL>


<H2>Version 0.8.10 (beta)</H2>

<OL>
  <LI>Server side includes which include CGI output can have unbareable
   delays on some platforms. We're looking into a fix.

<P>

  <LI>NCSA 1.3 and beyond allow wildcards in &lt;Directory&gt; tags; e.g.
      &lt;Directory /home/*/public_html&gt; - Apache doesn't (yet),
      but we have a patch coming real soon now

<P>

  <LI>Buggy scripts can cause server misbehavior on Solaris at least.

<P>

  <LI>Some of the default directives in srm.conf-dist are outdated

<P>

  <LI>Descriptions of args to AddIcon and AddAlt are wrong
      in command table.

<P>

  <LI>DirectoryIndex sometimes gets spuriously reset to the default value.

<P>

  <LI>ErrorDocument is a little shakey, <CODE>" Some text %s</CODE> doesn't
    agree with the documentation.

<P>

  <LI>All Aliases are checked before any ScriptAliases --- the fully
      compatible behavior would be to check both in one pass, in the order
      in which they occur in srm.conf.

<P>
</OL>

<H2>Version 0.8.8 (beta)</H2>

<OL>
  <LI>There's a known compilation problem with <B>NeXT</B>. Knock out the
   2nd argument to <CODE>setjmp</CODE> when your compiler complains.<BR><BR>
  </LI>

  <LI><CODE>exec cgi=""</CODE> produces reasonable <B>malformed header</B>
  responses when used to invoke non-CGI scripts.<BR>
  The NCSA code ignores the missing header. (bad idea)<BR>
  Solution: write CGI to the CGI spec or use <CODE>exec cmd=""</CODE> instead.
  <P>We might add <CODE>virtual</CODE> support to <CODE>exec cmd</CODE> to
  make up for this difference.</P>

  <LI>A <I>scoreboard</I> file for process management is currently
  created in <B>/tmp</B>. We now find this to be a bad idea, and have plans
  to move it into the <CODE>/logs</CODE> directory along with other
  files created by Apache.
  <P>If you have any <B>/tmp</B> cleaning scritps (e.g. from crontab), you
  should have them ignore the scoreboard file, which is named 
  <B>/tmp/htstatus.XXXXXXX</B>. If the scoreboard file is damaged, Apache
  can become very confused (a SIGHUP repairs the damage).  Furthermore, not
  having a /tmp at all can cause disastrous results, as there's no error 
  checking yet.<P>  

  <LI>Putting authorization information (like AuthName and AuthType) into a 
  &lt;Directory&gt; directive without a "requires" field in the &lt;Limit&gt;
  directive can result in a core dump.<P>

  <LI>AddIcon is broken. The fix is to change<BR>
  <CODE>
  { "AddIcon", add_icon, BY_<B>TYPE</B>, DIR_CMD_PERMS, ITERATE2,
  </CODE>
  <BR>to<BR>
  <CODE>
  { "AddIcon", add_icon, BY_<B>PATH</B>, DIR_CMD_PERMS, ITERATE2,
  </CODE>
  <P>in <CODE>mod_dir.c</CODE></P></LI>

  <LI>Under IRIX, the "Group" directive in httpd.conf needs to be a valid group name 
  (i.e. "nogroup") not the numeric group ID.  The distribution httpd.conf, and earlier 
  ones, had the default Group be "#-1", which was causing silent exits at startup. 

<P>


  <LI>Server push as regular CGI's don't work - actually, any normal CGI script 
  that outputs additional attributes to the Content-type line (separated by a 
  semicolon) gets that extra information chopped off, which means that the line
  <code>Content-type: multipart/x-mixed-replace; boundary=ThisRandomString</code>
  gets munged to just <code>Content-type: multipart/x-mixed-replace</code>, which 
  means it doesn't know what the boundary is, and fails.  You can get around this
  until 0.8.9 by making the CGI script a "No Parsed Header" script by prefixing the 
  name of the script with a "nph-", but then you have to be responsible for correct
  HTTP headers.  If the server-push animation is a constant, unchanging stream that
  terminates at some point, you could also put that stream into a whole file and 
  use the .asis file extension functionality.  

<P>

  <LI>ErrorDocument is a little shakey, <CODE>" Some text %s</CODE> doesn't
    agree with the documentation.

<P>

</OL>

<HR>

<H2>Version 0.6.4 </H2>
<OL>
<LI>As with NCSA 1.3 (and 1.4 ?), some <B>HEAD</B> requests on
directories without an <CODE>index.html</CODE> fail to be logged... harmless.</LI>
<LI>Typo in Virtual Host #defines (accidentally defined #VIRUAL_HOST").  0.6.4b fixes this.
</OL>
<H2>Version 0.6.2 (first beta)</H2>
<OL>

<LI><P>Apache error_log might show <CODE>httpd: caught SIGBUS, dumping core</CODE> after a successful redirect. We hope to fix this in 0.6.3</P></LI>

<LI><P>If you see a lot of messages such as,
<PRE>access to /something: failed for foo.bar.com, reason: no multi in this directory</PRE>
in your error log, don't panic !. It means "File not found", and we will
fix it sooner or later.

</P>

<LI><P><B>WARNING</B>: Apache logs all URLs redirected <B>from</B> and
<B>to</B>.  This isn't bug, it's deliberate, but you should be aware
of it.  It's a recognition of the fact that the Common Log File format
doesn't have any place to log the real object that was returned for
the internally redirected request.  This will be changed soon.  

</P>

<LI><P>BSDI problems: One of the test machines (<a
href="http://www.hyperreal.com/">Hyperreal</a>) has noticed "flocks" of
child processes sucking up large amounts of resources when moderately
hit (on a Pentium 90 running 1.1 serving ~2 hits/second).  Killing and
restarting the daemon helps this disappear - it's being investigated,
it might be a kernel bug, but then every server developer likes to say
that.  Let us know how well it works for you if you are using BSDI and
have a high number of hits.</P></LI>

</OL>

<HR>
<A HREF="../"><IMG SRC="../images/apache_home.gif" ALT="Home"></A>
<A HREF="./"><IMG SRC="../images/apache_index.gif" ALT="Index"></A>


</BODY>
</HTML>
