You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/11/05 12:56:20 UTC

[STATUS] 1.2.5: Wed Nov 5 03:55:14 PST 1997

The main goal for 1.2.5 is to fix egregious bugs.  Portability fixes are
not high priority ('cause Dean is too busy to maintain the extra status).

Committed since 1.2.4:

    * PR#1107: defend against linux select EFAULT
    * PR#1064: inetd mode uses timeouts without setting up the jmpbuf
    * suexec wouldn't build without LOG_EXEC
    * mod_userdir overwrites r->finfo sometimes with bogosity
    * mod_include doesn't deal properly with all redirect status codes
    * mod_imap blocks non-GET methods
    * PR#1139: fix bogus uninitialized data for && and ||
    * mod_negotiation tweak for undefined C behaviour

Available:

    see http://www.arctic.org/~dgaudet/apache/1.2.5

    Dean's mod_include_etag:
	PR#1133: mod_include shouldn't send ETag when XBitHack Full is
	set.
	Status: Dean +1, Roy +1, Ralf +0
	Alternate solution already in 1.3.

    Ralf's mod_rewrite bugfix for %3f
	see below
	Status: Ralf +1, Dean +1

    Something from the FreeBSD port -- more #define wrappers
	see below
	Status: Ralf +1, Dean +1

Open issues:

    * Some fix for the bogus byte ranges bug.

Stuff from Ralf:

* The following 1.2.5-adjusted bugfix for mod_rewrite.c 
  which fixes the "Location: http://host/bar%3fquery" problem (the "?"
  is escaped but have not!)

    Index: mod_rewrite.c
    ===================================================================
    RCS file: /e/apache/REPOS/apache/src/mod_rewrite.c,v
    retrieving revision 1.28.2.3
    diff -u -r1.28.2.3 mod_rewrite.c
    --- mod_rewrite.c   1997/08/17 20:35:49 1.28.2.3
    +++ mod_rewrite.c   1997/10/28 11:53:52
    @@ -1590,6 +1590,7 @@
                 }
                 rewritelog(r, 2, "[per-dir %s] redirect %s -> %s", perdir, r->filename, newuri);
                 r->filename = pstrdup(r->pool, newuri);
    +            splitout_queryargs(r, p->flags & RULEFLAG_QSAPPEND);
                 r->status = p->forced_responsecode;
                 return 1;
             }

  For 1.3 this bugfix is different and already replaced by the new patch
  replacing the complete rewriting engine I'll post these days .

* The following patch from the FreeBSD ports area which I find very useful
  because it allows one to set the pathnames from Configuration without
  hacking the httpd.h every time. It is already comitted in 1.3.

    Index: httpd.h
    ===================================================================
    RCS file: /e/apache/REPOS/apache/src/httpd.h,v
    retrieving revision 1.111.2.17
    diff -u -r1.111.2.17 httpd.h
    --- httpd.h 1997/08/22 08:04:27 1.111.2.17
    +++ httpd.h 1997/11/04 12:38:45
    @@ -74,6 +74,7 @@
     #endif
     #endif
     
    +#ifndef DOCUMENT_LOCATION
     /* Root of server */
     #ifdef __EMX__
     /* Set default for OS/2 file system */ 
    @@ -81,6 +82,7 @@
     #else
     #define DOCUMENT_LOCATION "/usr/local/etc/httpd/htdocs"
     #endif
    +#endif
     
     /* Max. number of dynamically loaded modules */
     #define DYNAMIC_MODULE_LIMIT 64
    @@ -112,21 +114,31 @@
     #endif
     
     /* The name of the log files */
    +#ifndef DEFAULT_XFERLOG
     #ifdef __EMX__
     /* Set default for OS/2 file system */ 
     #define DEFAULT_XFERLOG "logs/access.log"
     #else
     #define DEFAULT_XFERLOG "logs/access_log"
     #endif
    +#endif /* DEFAULT_XFERLOG */
    +#ifndef DEFAULT_ERRORLOG
     #ifdef __EMX__
     /* Set default for OS/2 file system */ 
     #define DEFAULT_ERRORLOG "logs/error.log"
     #else
     #define DEFAULT_ERRORLOG "logs/error_log"
     #endif
    +#endif /* DEFAULT_ERRORLOG */
    +#ifndef DEFAULT_PIDLOG
     #define DEFAULT_PIDLOG "logs/httpd.pid"
    +#endif
    +#ifndef DEFAULT_SCOREBOARD
     #define DEFAULT_SCOREBOARD "logs/apache_runtime_status"
    +#endif
    +#ifndef DEFAULT_LOCKFILE
     #define DEFAULT_LOCKFILE "logs/accept.lock"
    +#endif
     
     /* Define this to be what your HTML directory content files are called */
     #define DEFAULT_INDEX "index.html"
    @@ -151,14 +163,20 @@
     #define SERVER_CONFIG_FILE "conf/httpd.conf"
     #endif
     
    +#ifndef RESOURCE_CONFIG_FILE
     /* The name of the document config file */
     #define RESOURCE_CONFIG_FILE "conf/srm.conf"
    +#endif
     
    +#ifndef TYPES_CONFIG_FILE
     /* The name of the MIME types file */
     #define TYPES_CONFIG_FILE "conf/mime.types"
    +#endif
     
    +#ifndef ACCESS_CONFIG_FILE
     /* The name of the access file */
     #define ACCESS_CONFIG_FILE "conf/access.conf"
    +#endif
     
     /* Whether we should enable rfc1413 identity checking */
     #define DEFAULT_RFC1413 0