cvs commit: apache-site/info how-to-mirror.html

1998-06-15 Thread brian
brian   98/06/15 14:30:55

  Modified:info how-to-mirror.html
  Log:
  New URL.
  
  Revision  ChangesPath
  1.8   +1 -1  apache-site/info/how-to-mirror.html
  
  Index: how-to-mirror.html
  ===
  RCS file: /export/home/cvs/apache-site/info/how-to-mirror.html,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- how-to-mirror.html1998/05/20 15:20:51 1.7
  +++ how-to-mirror.html1998/06/15 21:30:54 1.8
  @@ -61,7 +61,7 @@
   and is less than 24 hours old.
   
   LIUse the FTP-based mirror.pl package, available at A
  
-HREF=ftp://src.doc.ic.ac.uk/computing/archiving/mirror;ftp://src.doc.ic.ac.uk/computing/archiving/mirror/A,
  
+HREF=http://sunsite.org.uk/packages/mirror/;http://sunsite.org.uk/packages/mirror//A
   as well as at A
   
HREF=ftp://ftp.debian.org/debian/stable/source/net/;ftp://ftp.debian.org/debian/stable/source/net//A.
   If you use this, point the package at ftp://ftp.apache.org/apache/.  There 
is also 
  
  
  


cvs commit: apache-1.3/src/helpers GuessOS

1998-06-13 Thread brian
brian   98/06/13 15:36:48

  Modified:src/helpers GuessOS
  Log:
  intel is unfair to other vendors.
  
  Revision  ChangesPath
  1.42  +1 -1  apache-1.3/src/helpers/GuessOS
  
  Index: GuessOS
  ===
  RCS file: /export/home/cvs/apache-1.3/src/helpers/GuessOS,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- GuessOS   1998/06/10 08:15:11 1.41
  +++ GuessOS   1998/06/13 22:36:47 1.42
  @@ -187,7 +187,7 @@
;;
   
   *:4.0:3.0:[345][0-9]?? | *:4.0:3.0:3[34]??[/,]* | library:*)
  - echo intel-ncr-sysv4; exit 0
  + echo x86-ncr-sysv4; exit 0
;;
   
   ULTRIX:*)
  
  
  


cvs commit: apache-site .cvsignore

1998-06-10 Thread brian
brian   98/06/10 11:51:41

  Modified:..cvsignore
  Log:
  Added the js subdir, which will be the home pages for the mod_js
  module, which does server-side JavaScript.
  
  Revision  ChangesPath
  1.7   +1 -0  apache-site/.cvsignore
  
  Index: .cvsignore
  ===
  RCS file: /export/home/cvs/apache-site/.cvsignore,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- .cvsignore1998/05/05 05:56:11 1.6
  +++ .cvsignore1998/06/10 18:51:41 1.7
  @@ -7,6 +7,7 @@
   from-cvs
   incoming
   java
  +js
   manual-index-data
   nounss
   perl
  
  
  


cvs commit: apache-1.3/htdocs/manual/mod core.html

1998-06-08 Thread brian
brian   98/06/08 09:25:37

  Modified:htdocs/manual/mod core.html
  Log:
  D'oh!
  
  Revision  ChangesPath
  1.123 +1 -1  apache-1.3/htdocs/manual/mod/core.html
  
  Index: core.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/core.html,v
  retrieving revision 1.122
  retrieving revision 1.123
  diff -u -r1.122 -r1.123
  --- core.html 1998/06/06 02:30:12 1.122
  +++ core.html 1998/06/08 16:25:36 1.123
  @@ -914,7 +914,7 @@
HREF=directive-dict.html#Syntax
REL=Help
   STRONGSyntax:/STRONG/A lt;FilesMatch EMregex/EMgt;
  -... lt;/Filesgt;BR
  +... lt;/FilesMatchgt;BR
   A
HREF=directive-dict.html#Context
REL=Help
  
  
  


cvs commit: apache-1.3/htdocs/manual/vhosts host.html

1998-06-08 Thread brian
brian   98/06/08 09:28:37

  Modified:htdocs/manual/vhosts host.html
  Log:
  Fix link.
  
  Revision  ChangesPath
  1.5   +1 -1  apache-1.3/htdocs/manual/vhosts/host.html
  
  Index: host.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/vhosts/host.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- host.html 1998/05/20 14:22:47 1.4
  +++ host.html 1998/06/08 16:28:37 1.5
  @@ -123,7 +123,7 @@
   private.foo.com/CODE header.  It is important to note that this
   condition exists only if you only implement this policy at the IP
   layer - all security controls used by Apache (i.e., A
  -HREF=mod/mod_access.htmlallow, deny from,/A etc.) are consistently
  +HREF=../mod/mod_access.htmlallow, deny from,/A etc.) are consistently
   respected.
   
   H2Compatibility with Older Browsers/H2
  
  
  


cvs commit: apache-1.3/src/helpers GuessOS

1998-06-08 Thread brian
brian   98/06/08 10:04:03

  Modified:src/helpers GuessOS
  Log:
  Based on private mail with [EMAIL PROTECTED] (Bill Houle),
  where he said (quoting me)
  
  On Jun 7, 11:52am, Brian Behlendorf wrote:
  } I can't see why you'd ever want $MACHINE to be variable since
  } all NCR boxes are generic SVR4. I don't see why you couldn't
  } just move the 'library' test to the list of i486-ncr-sysv4
  } above
  }
  } Hmm, true.  Or at least move them next to each other so it's obvious.  I
  } don't want to break something if there's a reason they're separate like 
that.
  }
  } PS: Should I be anal-retentive and point out that most systems
  } these days are Pentium based rather than 486, or is 'i486' simply
  } a convention with no real CPU significance? 'intel' might be a
  } better (more generic) designation, and I'm sure this applies to
  } non-NCR systems as well.
  }
  } I don't think it has any significance in the code - what does uname -m
  } result in on your systems?
  
  You ready for a good laugh? On the machine I am on this moment,
  it returns '3435'. On the machine I compiled Apache on Fri night,
  it returned '5648'. NCR MP-RAS stupidly reports the *model number*
  of the machine it is running on; ditto for `arch`. Thus, `uname -m`
  is going to be all over the map depending on the class of box.
  
  That is why I said all NCR tests -- including the library test --
  should probably result in i486 rather than the machine 'type'(sic).
  Or, better yet, intel if there's no significance to 'i486' other
  than as a generic x86 label.
  
  Revision  ChangesPath
  1.40  +2 -6  apache-1.3/src/helpers/GuessOS
  
  Index: GuessOS
  ===
  RCS file: /export/home/cvs/apache-1.3/src/helpers/GuessOS,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- GuessOS   1998/06/07 18:44:22 1.39
  +++ GuessOS   1998/06/08 17:04:02 1.40
  @@ -189,12 +189,8 @@
echo ${MACHINE}-whatever-sysv4; exit 0
;;
   
  -*:4.0:3.0:[345][0-9]?? | *:4.0:3.0:3[34]??[/,]*)
  - echo i486-ncr-sysv4; exit 0
  - ;;
  -
  -library:*)
  - echo ${MACHINE}-ncr-sysv4; exit 0
  +*:4.0:3.0:[345][0-9]?? | *:4.0:3.0:3[34]??[/,]* | library:*)
  + echo intel-ncr-sysv4; exit 0
;;
   
   ULTRIX:*)
  
  
  


cvs commit: apache-site/mirrors index.html mirrors.list

1998-06-07 Thread brian
brian   98/06/07 10:31:25

  Modified:mirrors  index.html mirrors.list
  Log:
  ic.ac.uk came back, mpl.net is gone gone gone
  
  Revision  ChangesPath
  1.35  +2 -2  apache-site/mirrors/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/index.html,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- index.html1998/06/06 16:35:45 1.34
  +++ index.html1998/06/07 17:31:24 1.35
  @@ -165,6 +165,8 @@
   !-- [EMAIL PROTECTED] --
   A HREF=http://www.apache.carrier.kiev.ua/;ua/A -
   !-- [EMAIL PROTECTED] --
  +A HREF=http://sunsite.doc.ic.ac.uk/packages/apache/;ac.uk/A -
  +!-- [EMAIL PROTECTED] --
   A HREF=http://www.hensa.ac.uk/mirrors/apache/;ac.uk/A -
   !-- [EMAIL PROTECTED] --
   A HREF=http://www.eu.c2.net/apache/;co.uk/A -
  @@ -191,8 +193,6 @@
   !-- [EMAIL PROTECTED] --
   A HREF=http://apache.technomancer.com/;us/A -
   !-- [EMAIL PROTECTED] --
  -A HREF=http://apache.mpl.net/;us/A -
  -!-- [EMAIL PROTECTED] --
   A HREF=http://apache.plinet.com/;us/A -
   !-- [EMAIL PROTECTED] --
   A HREF=http://apache.raver.net/;us/A -
  
  
  
  1.47  +1 -1  apache-site/mirrors/mirrors.list
  
  Index: mirrors.list
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/mirrors.list,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- mirrors.list  1998/06/06 16:35:45 1.46
  +++ mirrors.list  1998/06/07 17:31:24 1.47
  @@ -70,6 +70,7 @@
   http ua  http://www.neon.dp.ua/www.apache.org/   [EMAIL PROTECTED]
   http ua  http://ftp.icmp.lviv.ua/Apache/ [EMAIL PROTECTED]
   http ua  http://www.apache.carrier.kiev.ua/  [EMAIL PROTECTED]
  +http ac.uk   http://sunsite.doc.ic.ac.uk/packages/apache/[EMAIL 
PROTECTED]
   http ac.uk   http://www.hensa.ac.uk/mirrors/apache/  [EMAIL PROTECTED]
   http co.uk   http://www.eu.c2.net/apache/[EMAIL PROTECTED]
   http co.uk   http://www.domino.org/apache/   ?
  @@ -83,7 +84,6 @@
   http us  http://apache.utw.com/  [EMAIL PROTECTED]
   http us  http://www.ameth.org/apache/[EMAIL PROTECTED]
   http us  http://apache.technomancer.com/ [EMAIL PROTECTED]
  -http us  http://apache.mpl.net/  [EMAIL PROTECTED]
   http us  http://apache.plinet.com/   [EMAIL PROTECTED]
   http us  http://apache.raver.net/[EMAIL PROTECTED]
   http us  http://www3.service.digital.com/apache/ [EMAIL PROTECTED]
  
  
  


cvs commit: apache-1.3/src/helpers GuessOS

1998-06-07 Thread brian
brian   98/06/07 11:44:23

  Modified:src/helpers GuessOS
  Log:
  move the two related to ncr-svr4 next to each other; I'm seeing if the two 
could
  be collapsed into one.
  
  Revision  ChangesPath
  1.39  +4 -4  apache-1.3/src/helpers/GuessOS
  
  Index: GuessOS
  ===
  RCS file: /export/home/cvs/apache-1.3/src/helpers/GuessOS,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- GuessOS   1998/06/06 19:21:21 1.38
  +++ GuessOS   1998/06/07 18:44:22 1.39
  @@ -193,6 +193,10 @@
echo i486-ncr-sysv4; exit 0
;;
   
  +library:*)
  + echo ${MACHINE}-ncr-sysv4; exit 0
  + ;;
  +
   ULTRIX:*)
echo ${MACHINE}-unknown-ultrix; exit 0
;;
  @@ -208,10 +212,6 @@
   machten:*)
  echo ${MACHINE}-tenon-${SYSTEM}; exit 0;
  ;;
  -
  -library:*)
  - echo ${MACHINE}-ncr-sysv4; exit 0
  - ;;
   
   ConvexOS:*:11.*:*)
echo ${MACHINE}-v11-${SYSTEM}; exit 0;
  
  
  


cvs commit: apache-site/contributors index.html

1998-06-07 Thread brian
brian   98/06/07 14:19:13

  Modified:contributors index.html
  Log:
  Change is good.
  
  Revision  ChangesPath
  1.42  +7 -10 apache-site/contributors/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/contributors/index.html,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- index.html1998/05/20 15:22:45 1.41
  +++ index.html1998/06/07 21:19:13 1.42
  @@ -141,17 +141,14 @@
   
   
   STRONGName:/STRONG A NAME=behlendorfBrian Behlendorf/ABR
  -STRONGEmail:/STRONG A HREF=mailto:[EMAIL PROTECTED][EMAIL 
PROTECTED]/A or
  -A HREF=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/ABR
  -STRONGURL:/STRONG A 
HREF=http://www.organic.com/Staff/brian;http://www.organic.com/Staff/brian/ABR
  -STRONGOrganization:/STRONG OrganicBR
  -STRONGOccupation:/STRONG CTO (hahaha)BR
  -STRONGLocation:/STRONG San FranDisco, CA, USABR
  +STRONGEmail:/STRONG A HREF=mailto:[EMAIL PROTECTED][EMAIL 
PROTECTED]/A or A HREF=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/ABR
  +STRONGURL:/STRONG A 
HREF=http://www.behlendorf.com/;http://www.behlendorf.com/ABR
  +STRONGOrganization:/STRONG C2Net BR
  +STRONGOccupation:/STRONG CTO BR
  +STRONGLocation:/STRONG Oakland, CA, USABR
   STRONGComments:/STRONG Crotchety Old Man who likes to see things done 
right.BR
  -STRONGOS Expertise:/STRONG BSDI 2.0BR
  -STRONGContributions:/STRONG Code-wise I've contributed very little - the
  - authDBM hack which I did for HotWired was the only feature
  - enhancement.  I focus more on testing and sanity checking, and
  +STRONGOS Expertise:/STRONG FreeBSD 2.2.XBR
  +STRONGContributions:/STRONG I focus more on testing and sanity checking, 
and
I provide the hardware/software/bandwidth to support 
A HREF=http://www.apache.org/;www.apache.org/A and the 
development mailing list.
  
  
  


cvs commit: apache-1.3 Announcement

1998-06-06 Thread brian
brian   98/06/05 18:47:34

  Modified:.Announcement
  Log:
  Changed the code contributors line based on analysis of email addresses in
  the CHANGES file.
  
  Pointing people at a 206K file first when they want to know what's different
  is silly.
  
  Finally, fix some grammar.
  
  Revision  ChangesPath
  1.27  +3 -5  apache-1.3/Announcement
  
  Index: Announcement
  ===
  RCS file: /export/home/cvs/apache-1.3/Announcement,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Announcement  1998/06/06 01:02:25 1.26
  +++ Announcement  1998/06/06 01:47:33 1.27
  @@ -4,7 +4,7 @@
   
The Apache Group is pleased to announce the release of the long
awaited 1.3.0 version of the Apache HTTP server.  12 months, hundreds
  - of patches and several dozen of total code contributors helped make the
  + of patches and over 100 total code contributors helped make the
release of 1.3.0 a reality.
   
Apache 1.3.0 is the most stable version of Apache currently available;
  @@ -19,10 +19,8 @@
and the huge list of available International Mirror Sites at
http://www.apache.org/mirrors/
   
  - For an overview of new features in 1.3 please read the CHANGES file 
  - in the distribution and the New Features with Apache 1.3 document at:
  + For an overview of new features in 1.3 please read see
   
  - http://www.apache.org/dist/CHANGES
http://www.apache.org/docs/new_features_1_3.html
   
In general, Apache 1.3.0 offers several substantial improvements
  @@ -31,5 +29,5 @@
NT.
   
Apache is the most popular web-server in the known universe; over
  - half of the servers on the Internet are running Apache or one of it's
  + half of the servers on the Internet are running Apache or one of its
variants.
  
  
  


cvs commit: apache-1.3/htdocs/manual/mod core.html

1998-06-06 Thread brian
brian   98/06/05 19:30:13

  Modified:htdocs/manual/mod core.html
  Log:
  HostnameLookups were *not* allowed in .htaccess files.  They should
  be, but for now it doesn't.  This can't be as easy as changing
  ACCESS_CONF|RSRC_CONF to OR_FILEINFO or something, is it?
  
  Revision  ChangesPath
  1.122 +1 -2  apache-1.3/htdocs/manual/mod/core.html
  
  Index: core.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/core.html,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -r1.121 -r1.122
  --- core.html 1998/05/21 04:07:17 1.121
  +++ core.html 1998/06/06 02:30:12 1.122
  @@ -1004,8 +1004,7 @@
   A
HREF=directive-dict.html#Context
REL=Help
  -STRONGContext:/STRONG/A server config, virtual host, directory,
  -.htaccessBR
  +STRONGContext:/STRONG/A server config, virtual host, directoryBR
   A
HREF=directive-dict.html#Status
REL=Help
  
  
  


cvs commit: apache-site/dist Announcement.html Announcement.txt README.html

1998-06-06 Thread brian
brian   98/06/05 19:52:25

  Modified:dist Announcement.html Announcement.txt README.html
  Log:
  Prepare for 1.3 announcement.
  
  Revision  ChangesPath
  1.7   +39 -35apache-site/dist/Announcement.html
  
  Index: Announcement.html
  ===
  RCS file: /export/home/cvs/apache-site/dist/Announcement.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Announcement.html 1998/05/26 19:43:17 1.6
  +++ Announcement.html 1998/06/06 02:52:24 1.7
  @@ -1,41 +1,45 @@
   HTML
   HEAD
  -TITLEApache 1.3 Beta 7 Released/TITLE
  +TITLEApache 1.3.0 Released/TITLE
   /HEAD
   BODY
   
  -H1Apache 1.3 Beta 7 Released/H1
  +H1Apache 1.3.0 Released/H1
   
  -PThe Apache Group is pleased to announce the release of the 1.3b7 version
  - of Apache, the latest beta release of the Apache HTTP server.  1.3b7 is
  - a second release candidate for Apache 1.3.0.
  - 
  -PThis version is stable under UNIX but remains beta-level under Win32.  No
  - new features are expected between 1.3b7 and 1.3.0, so please give this
  - version a good thrashing in order to provide as much feedback as possible
  - to the Apache Group before the release of 1.3.0.
  -
  -PFor a full list of specific code changes see A 
HREF=CHANGESCHANGES/A.
  -
  -PMajor changes with this beta:
  -UL
  -LIHTTP: fixes for 400 and 408 error codes.
  -LIWIN32: 
  -  UL
  -  LIChild process spawning now uses native Win32 API.
  -  This should address many problems people have had
  -   on Win32 - it also forced us to modify the 
  -   related child_spawn calls in the Apache API.
  -  LIOther various stability fixes.
  -  LIExtensive overhaul of the way UNCs are handled.
  -  /UL
  -LIVarious mod_rewrite fixes.
  -LIVarious makefile cleanups.
  -LIVarious APACI changes.
  -LIVarious DSO cleanups, better support for AIX, OpenBSD, NetBSD
  -LIServer's OS family now reported in Server: strings.
  -LIPORT: added support for NCR MP/RAS 3.0
  -LISecurity: we now make sure all config files opened by Apache are not
  -special devices.
  -LIAdded -s command line option to dump out vhost settings.
  -/UL
  +P
  + The Apache Group is pleased to announce the release of the long
  + awaited 1.3.0 version of the Apache HTTP server.  A dozen months,
  + hundreds of patches and over 100 code contributors helped make the
  + release of 1.3.0 a reality.
  +
  +P
  + Apache 1.3.0 is the most stable version of Apache currently available;
  + everyone running 1.2.X servers or earlier should upgrade to 1.3, as we
  + will stop providing support for the 1.2.X tree, though we may make a
  + release of 1.2.7. At present, the Win95/NT port of Apache is not
  + as stable as the UNIX version. Further releases of the 1.3.x tree
  + will bring the Win95/NT port closer to parity.
  +
  +P
  + To grab the latest Apache distribution, check out
  + A HREF=http://www.apache.org/dist/;http://www.apache.org/dist//A
  + and the huge list of available International Mirror Sites at
  + A 
HREF=http://www.apache.org/mirrors/;http://www.apache.org/mirrors//A
  +
  +P 
  + For an overview of new features in 1.3 please read see
  +
  + A HREF=http://www.apache.org/docs/new_features_1_3.html;
  + http://www.apache.org/docs/new_features_1_3.html/A
  +
  +P
  + In general, Apache 1.3.0 offers several substantial improvements
  + over previous versions, including better performance, reliability
  + and a wider-range of supported platforms, including Windows95 and
  + NT.
  +
  +P
  + Apache is the most popular web-server in the known universe; over
  + half of the servers on the Internet are running Apache or one of its
  + variants.
  +
  
  
  
  1.3   +22 -59apache-site/dist/Announcement.txt
  
  Index: Announcement.txt
  ===
  RCS file: /export/home/cvs/apache-site/dist/Announcement.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Announcement.txt  1998/05/26 19:43:17 1.2
  +++ Announcement.txt  1998/06/06 02:52:24 1.3
  @@ -1,69 +1,32 @@
   
  - Apache 1.3 Beta 7 Released
  - ==
  + Apache 1.3.0 Released
  + =
   
  - The Apache Group is pleased to announce the release of the 1.3b7 version
  - of Apache, the latest beta release of the Apache HTTP server.  1.3b7 is
  - a second release candidate for Apache 1.3.0.
  - 
  - This version is stable under UNIX but remains beta-level under Win32.  No
  - new features are expected between 1.3b7 and 1.3.0, so please give this
  - version a good thrashing in order to provide as much feedback as possible
  - to the Apache Group before the release of 1.3.0.
  + The Apache Group is pleased to announce the release of the long
  + awaited 1.3.0 version of the Apache HTTP server.  A dozen months,
  + hundreds of patches and over 100 code

cvs commit: apache-site bug_report.html info.html

1998-06-06 Thread brian
brian   98/06/05 19:57:12

  Modified:.bug_report.html info.html
  Log:
  update for 1.3 release.
  
  Revision  ChangesPath
  1.15  +3 -3  apache-site/bug_report.html
  
  Index: bug_report.html
  ===
  RCS file: /export/home/cvs/apache-site/bug_report.html,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- bug_report.html   1998/05/12 05:58:02 1.14
  +++ bug_report.html   1998/06/06 02:57:10 1.15
  @@ -21,8 +21,8 @@
   
   OL
LIVerified that the bug exists in A HREF=mirrors/the most recent
  -  version/A of Apache.  There are many bugs in the 1.1/tree that have been
  -  fixed in the 1.2 tree.  
  +  version/A of Apache.  There are many bugs in the 1.2 version and earlier 
  +  that have been fixed in the 1.3 version.  
/LI
LIChecked the A HREF=info/known_bugs.htmlknown bugs/A page.
/LI
  @@ -45,7 +45,7 @@
/LI
LIChecked the A HREF=docs/misc/FAQ.htmlFAQ/A.
/LI
  - LIIf upgrading to 1.3 (currently in beta), checked the
  + LIIf upgrading to 1.3, checked the
 A HREF=docs/upgrading_to_1_3.htmlUpgrading to 1.3/A notes.
/LI
LISearched the A HREF=http://bugs.apache.org/;bug report/A
  
  
  
  1.13  +2 -2  apache-site/info.html
  
  Index: info.html
  ===
  RCS file: /export/home/cvs/apache-site/info.html,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- info.html 1998/05/31 10:30:25 1.12
  +++ info.html 1998/06/06 02:57:10 1.13
  @@ -98,8 +98,8 @@
   Apache is being maintained./P
   
   H2When will Apache be available?/H2
  -PApache version 1.2.6 is currently available to everyone, and is 
  -the most stable version.  Apache 1.3 is currently in beta.
  +PApache version 1.3.0 is currently available to everyone, and is 
  +the most stable version.
   
   H2Will Apache be supported?/H2 
   
  
  
  


cvs commit: apache-site index.html

1998-06-06 Thread brian
brian   98/06/05 19:58:49

  Modified:.index.html
  Log:
  oops, be consistant.
  
  Revision  ChangesPath
  1.59  +1 -1  apache-site/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/index.html,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- index.html1998/06/06 02:39:28 1.58
  +++ index.html1998/06/06 02:58:49 1.59
  @@ -61,7 +61,7 @@
will stop providing support for the 1.2.X tree, though we may make a
release of 1.2.7. At present, the Win32 port of Apache is not
as stable as the UNIX version. Further releases of the 1.3.x tree
  - will bring the Win95/NT port closer to parity.
  + will bring the Win32 port closer to parity.
   
   /BLOCKQUOTE
   
  
  
  


cvs commit: apache-site index.html

1998-06-06 Thread brian
brian   98/06/05 19:59:20

  Modified:.index.html
  Log:
  more consistancy
  
  Revision  ChangesPath
  1.60  +1 -1  apache-site/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/index.html,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- index.html1998/06/06 02:58:49 1.59
  +++ index.html1998/06/06 02:59:19 1.60
  @@ -51,7 +51,7 @@
   
The Apache Group is pleased to announce the release of the long
awaited 1.3.0 version of the Apache HTTP server.  A dozen months,
  - hundreds of patches and over 5 score code contributors helped make the
  + hundreds of patches and over 100 code contributors helped make the
release of 1.3.0 a reality.
   
   P
  
  
  


cvs commit: apache-site search.html index.html

1998-06-06 Thread brian
brian   98/06/05 20:13:25

  Modified:.index.html
  Added:   .search.html
  Log:
  Added Dirk's search engine.
  
  Revision  ChangesPath
  1.61  +1 -0  apache-site/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/index.html,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- index.html1998/06/06 02:59:19 1.60
  +++ index.html1998/06/06 03:13:25 1.61
  @@ -28,6 +28,7 @@
 LI A HREF=bug_report.htmlBug Reporting/ABR
 LI A HREF=info.htmlBackground Information/ABR
 LI A HREF=library/Project Library/A
  +  LI A HREF=search.htmlSearch This Site/A
   /UL
   TD
   UL
  
  
  
  1.1  apache-site/search.html
  
  Index: search.html
  ===
  !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
  HTML
  HEAD
  TITLEApache Site Search Page/TITLE
  /HEAD
  !-- Background white, links blue (unvisited), navy (visited), red (active) 
--
  BODY
  BGCOLOR=#FF
  TEXT=#00
  LINK=#FF
  VLINK=#80
  ALINK=#FF
  
  
  IMG SRC=/images/apache_sub.gif ALT=
  
  H2Apache Site Search Page/H2
  
  Search the Apache site by keyword or phrase.
  
  P
  
  The Boolean AND, OR, and NOT are supported. The asterisk (*) can be
  used as a truncation character. If you enter multiple words
  iwithout/i an AND or an OR they are automagically iAND/Ied
  together. The search is not case sensitive. Email addresses and other
  words with a dot, a dash, a hyphen or an '@' sign are taken as one
  searchable token. Thus you are istrongly/i encouraged to use
  asterisk '*' completion.
  
  FORM ACTION=http://search.apache.org/; METHOD=POST
  
  PINPUT TYPE=text NAME=keyword SIZE=50
  
  P
  
  Maximum number of records to return: 
  select name=results
  option value=2020
  option value=20100
  option value=20200
  /select
  
  P
  Limit search to:BR
  input name=what value=ap type=checkbox checked Main site nbsp; nbsp;
  input name=what value=devtype=checkbox Developers Site nbsp; 
nbsp;BR
  input name=what value=code type=checkbox Source nbsp; nbsp;
  input name=what value=bugs type=checkbox Bugtraq nbsp; nbsp;
  
  P
  INPUT TYPE=submit VALUE=Start Search
  
  /FORM
  
  P
  hr
  Go back to the a href=http://www.apache.org;main Apache site/a for more 
information.
  /BODY
  /HTML
  
  
  
  


cvs commit: apache-1.3/src/support logresolve.c

1998-06-06 Thread brian
brian   98/06/05 20:17:56

  Modified:src/support logresolve.c
  Log:
  missing newline at end of error message.
  
  Revision  ChangesPath
  1.15  +1 -1  apache-1.3/src/support/logresolve.c
  
  Index: logresolve.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/support/logresolve.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- logresolve.c  1998/05/28 11:23:13 1.14
  +++ logresolve.c  1998/06/06 03:17:55 1.15
  @@ -288,7 +288,7 @@
statfile = argv[i];
}
else {
  - fprintf(stderr, Usage: logresolve [-s statfile] [-c]  input  
output);
  + fprintf(stderr, Usage: logresolve [-s statfile] [-c]  input  
output\n);
exit(0);
}
   }
  
  
  


cvs commit: apache-1.3 CHANGES

1998-06-06 Thread brian
brian   98/06/05 20:25:34

  Removed: .CHANGES
  Log:
  Redundant with htdocs/manual/new_features_1.3.html, and a pain to keep in 
sync.


cvs commit: apache-devsite how-to-release.html

1998-06-06 Thread brian
brian   98/06/06 07:03:50

  Modified:.how-to-release.html
  Log:
  Expanding the tree out isn't a good idea for a number of reasons - the
  mirror sites end up having to pull down a lot of files, there's no
  guarantee the tree will be around forever so building links to it is
  not a good idea, and all the files can be accessed anyways through cvsweb.cgi.
  
  Revision  ChangesPath
  1.40  +0 -6  apache-devsite/how-to-release.html
  
  Index: how-to-release.html
  ===
  RCS file: /export/home/cvs/apache-devsite/how-to-release.html,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- how-to-release.html   1998/05/22 00:31:14 1.39
  +++ how-to-release.html   1998/06/06 14:03:50 1.40
  @@ -280,12 +280,6 @@
CODESTRONG$ cvs update index.html/STRONG/CODEBR
CODESTRONG$ cvs update dist/index.html/STRONG/CODE
   P
  -LI Make an extracted version of the distribution available for
  - browsing by the user and for source-tree hyperlinks in
  - the Announcement posting:BR
  - CODESTRONG$ cd dist/STRONG/CODEBR
  - CODESTRONG$ gunzip lt;apache_1.X.Y.tar.gz | tar xvf 
-/STRONG/CODE
  -P
   LI Create an empty directory for future patches:BR
CODESTRONG$ mkdir patches/apply_to_1.X.Y/STRONG/CODE
   /OL
  
  
  


cvs commit: apache-1.3/htdocs/manual/misc FAQ.html

1998-06-06 Thread brian
brian   98/06/06 08:39:27

  Modified:htdocs/manual/misc FAQ.html
  Log:
  PR: 2365
  
  Updated certain questions for 1.3 - simplicity is always a good idea.
  
  Revision  ChangesPath
  1.119 +16 -63apache-1.3/htdocs/manual/misc/FAQ.html
  
  Index: FAQ.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/misc/FAQ.html,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- FAQ.html  1998/05/30 01:27:25 1.118
  +++ FAQ.html  1998/06/06 15:39:26 1.119
  @@ -14,7 +14,7 @@
 !--#include virtual=header.html --
 H1 ALIGN=CENTERApache Server Frequently Asked Questions/H1
 P
  -  $Revision: 1.118 $ ($Date: 1998/05/30 01:27:25 $)
  +  $Revision: 1.119 $ ($Date: 1998/06/06 15:39:26 $)
 /P
 P
 The latest version of this FAQ is always available from the main
  @@ -1091,19 +1091,15 @@
 P
 Apache does EMnot/EM send automatically send a cookie on every
 response, unless you have re-compiled it with the
  -  A HREF=../mod/mod_cookies.htmlSAMPmod_cookies/SAMP/A
  -  module.
  -  This module was distributed with Apache prior to 1.2.
  -  This module may help track users, and uses cookies to do this. If
  -  you are not using the data generated by SAMPmod_cookies/SAMP, do
  -  not compile it into Apache. Note that in 1.2 this module was renamed
  -  to the more correct name
  -  A HREF=../mod/mod_usertrack.htmlSAMPmod_usertrack/SAMP/A,
  -  and cookies
  -  have to be specifically enabled with the
  +  A HREF=../mod/mod_usertrack.htmlSAMPmod_usertrack/SAMP/A
  +  module, and specifically enabled it with the
 A HREF=../mod/mod_usertrack.html#cookietracking
 SAMPCookieTracking/SAMP/A
 directive.
  +  This module has been in Apache since version 1.2.
  +  This module may help track users, and uses cookies to do this. If
  +  you are not using the data generated by SAMPmod_usertrack/SAMP, do
  +  not compile it into Apache. 
 /P
 HR
/LI
  @@ -1244,60 +1240,17 @@
 STRONGHow can I get my script's output without Apache buffering
 it?  Why doesn't my server push work?/STRONG
/A
  -  P
  -  In order to improve network performance, Apache buffers script output
  -  into relatively large chunks.  If you have a script that sends
  -  information in bursts (eg. as partial-done messages in a multi-commit
  -  database transaction or any type of server push), the client will 
  -  not necessarily get the output as the script is generating it.
  -  /P
  -  P
  -  To avoid this, Apache recognizes scripts whose names begin with
  -  quot;SAMPnph-/SAMPquot; as EMnon-parsed-header/EM scripts.
  -  That is, Apache won't buffer their output, but connect it directly to
  -  the socket going back to the client.
  -  /P
  -  P
  -  While this will probably do what you want, there EMare/EM some
  -  disadvantages to it:
  -  /P
  -  UL
  -   LISTRONGYOU/STRONG (the script) are responsible for generating
  - STRONGALL/STRONG of the HTTP headers, and no longer
  - EMjust/EM the quot;SAMPContent-type/SAMPquot; or
  - quot;SAMPLocation/SAMPquot; headers
  -   /LI
  -   LIUnless your script generates its output carefully, you will see a
  -performance penalty as excessive numbers of packets go back and forth
  -   /LI
  -  /UL
  -  P
  -  As an example how you might handle the former (in a Perl script):
  -  /P
  -  P
  -  DL
  -   DDCODEif ($0 =~ m:^(.*/)*nph-[^/]*$:) {
  -BR
  -nbsp;nbsp;nbsp;nbsp;
  -$HTTP_headersnbsp;=nbsp;
  -quot;HTTP/1.1nbsp;200nbsp;OK\015\012quot;;
  -BR
  -nbsp;nbsp;nbsp;nbsp;
  -$HTTP_headersnbsp;.=nbsp;
  -quot;Connection:nbsp;close\015\012quot;;
  -BR
  -nbsp;nbsp;nbsp;nbsp;
  -printnbsp;$HTTP_headers;
  -BR
  -}/CODE
  -   /DD
  -  /DL
  -  /P
 P
  -  and then follow with your normal non-SAMPnph/SAMP headers.
  +  As of Apache 1.3, CGI scripts are essentially not buffered.  Every time
  +  your script does a flush to output data, that data gets relayed on to
  +  the client.  Some scripting languages, for example Perl, have their own
  +  buffering for output - this can be disabled by setting the CODE$!/CODE
  +  special variable to 1.  Of course this does increase the overall number
  +  of packets being transmitted, which can result in a sense of slowness by 
  +  the end user.
 /P
  -  PNote that in version 1.3, all CGI scripts will be unbuffered
  -  so the only difference between nph scripts and normal scripts is
  +  PPrior to 1.3, you needed to use nph- scripts to accomplish 
non-buffering.
  +  Today, the only difference between nph scripts and normal scripts is
 that nph scripts require the full HTTP headers to be sent.
 /P
 HR
  
  
  


cvs commit: apache-1.3/src/helpers GuessOS

1998-06-06 Thread brian
brian   98/06/06 08:43:31

  Modified:src/helpers GuessOS
  Log:
  Submitted by: Bill Houle [EMAIL PROTECTED]
  
  Slight NCR-SVR4 tweak.
  
  Revision  ChangesPath
  1.37  +1 -1  apache-1.3/src/helpers/GuessOS
  
  Index: GuessOS
  ===
  RCS file: /export/home/cvs/apache-1.3/src/helpers/GuessOS,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- GuessOS   1998/06/04 20:13:16 1.36
  +++ GuessOS   1998/06/06 15:43:30 1.37
  @@ -189,7 +189,7 @@
echo ${MACHINE}-whatever-sysv4; exit 0
;;
   
  -*:4.0:3.0:3[34]?? | *:4.0:3.0:3[34]??[/,]*)
  +*:4.0:3.0:[345][0-9]?? | *:4.0:3.0:3[34]??,*)
echo i486-ncr-sysv4; exit 0
;;
   
  
  
  


cvs commit: apache-site/mirrors mirrors.list index.html

1998-06-06 Thread brian
brian   98/06/06 09:35:46

  Modified:mirrors  mirrors.list index.html
  Log:
  Removed completely out of date ( 1 month) or no-longer-existant mirrors.
  Did not remove mirrors whose hostnames returned soft errors in the DNS, but
  contacted those administrators.  Contacted all administrators of removed
  mirrors when available.
  
  Revision  ChangesPath
  1.46  +2 -26 apache-site/mirrors/mirrors.list
  
  Index: mirrors.list
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/mirrors.list,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- mirrors.list  1998/05/29 07:21:39 1.45
  +++ mirrors.list  1998/06/06 16:35:45 1.46
  @@ -6,12 +6,10 @@
   http be  http://apache.digibel.be/   [EMAIL PROTECTED]
   http bg  http://apache.nat.bg/   [EMAIL PROTECTED]
   http br  http://br.apache.org/   [EMAIL PROTECTED]
  -http br  http://redes.ucpel.tche.br/apache-mirror/   [EMAIL 
PROTECTED]
   http br  http://apache.abordo.com.br/[EMAIL PROTECTED]
   http ca  http://www.ccai.com/apache/ [EMAIL PROTECTED]
   http ca  http://micromou.point-net.com/mirror/apache/[EMAIL 
PROTECTED]
   http ch  http://sunsite.cnlab-switch.ch/www/mirror/apache/   [EMAIL 
PROTECTED]
  -http co  http://apache.interred.net.co/  [EMAIL PROTECTED]
   http cr  http://apache.ucr.ac.cr/[EMAIL PROTECTED]
   http cz  http://sunsite.mff.cuni.cz/web/apache/  [EMAIL PROTECTED]
   http de  http://www.apache.de/   [EMAIL PROTECTED]
  @@ -27,21 +25,17 @@
   http es  http://slug.ctv.es/mirror/apache_httpd/ [EMAIL PROTECTED]
   http es  http://www.arrakis.es/pub/apache/   [EMAIL PROTECTED]
   http fr  http://www.cge-ol.fr/apache/[EMAIL PROTECTED]
  -http fr  http://www.teaser.fr/apache/[EMAIL PROTECTED]
   http gr  http://www.ntua.gr/apache/  [EMAIL PROTECTED]
   http hr  http://sunsite.srce.hr/mirrors/ftp.apache.org/apache/   [EMAIL 
PROTECTED]
   http hu  http://foobar.szabinet.hu/apache/   [EMAIL PROTECTED]
   http hu  http://xenia.sote.hu/ftp/linux/mirrors/www.apache.org/  [EMAIL 
PROTECTED]
   http hu  http://apache.iit.uni-miskolc.hu/   [EMAIL PROTECTED]
  -http id  http://apache.ub.net.id/[EMAIL PROTECTED]
  -http ie  http://apache.koala.ie/ [EMAIL PROTECTED]
  +http id  http://apache.ub.net.id/pub/apache/ [EMAIL PROTECTED]
   http ie  http://apache.csn.ul.ie [EMAIL PROTECTED]
   http il  http://vipe.technion.ac.il/apache/  [EMAIL PROTECTED]
  -http il  http://www.linux.org.il/apache/ [EMAIL PROTECTED]
   http il  http://download.netvision.net.il/apache/[EMAIL 
PROTECTED]
   http il  http://www.ibm.net.il/apache/   [EMAIL PROTECTED]
   http il  http://bioinformatics.weizmann.ac.il/software/apache/   [EMAIL 
PROTECTED]
  -http it  http://www.nonsoloweb.it/apache/[EMAIL PROTECTED]
   http it  http://mathema.it/pub/apache/   [EMAIL PROTECTED]
   http it  http://www.itb.it/apache/   [EMAIL PROTECTED]
   http jp  http://ring.aist.go.jp/archives/net/apache/ [EMAIL 
PROTECTED]
  @@ -54,28 +48,21 @@
   http my  http://www.cyberweb.com.my/apache/  [EMAIL PROTECTED]
   http my  http://itc.kusza.edu.my/apache/ [EMAIL PROTECTED]
   http nl  http://www.mbh.org/archive/apache/  [EMAIL PROTECTED]
  -http nl  http://www.ipe.nl/apache/   [EMAIL PROTECTED]
   http no  http://archive.bitcon.no/apache/[EMAIL PROTECTED]
   http no  http://www.powertech.no/apache/ [EMAIL PROTECTED]
   http pl  http://sunsite.icm.edu.pl/pub/www/apache/   [EMAIL 
PROTECTED]
   http pl  http://xenium.pdi.lodz.pl/Apache/   [EMAIL PROTECTED]
   http pl  http://www.task.gda.pl/pub/www/apache/  [EMAIL PROTECTED]
  -http pt  http://ftp.ua.pt/pub/infosystems/www/apache/[EMAIL 
PROTECTED]
   http pt  http://ftp.dei.uc.pt/apache/[EMAIL PROTECTED]
   http pt  http://linux.ispgaya.pt/apache/ [EMAIL PROTECTED]
  -http ro  http://www.sorosis.ro/ftp/mirrors/www.apache.org/   [EMAIL 
PROTECTED]
   http ro  http://www.utt.ro/ftp/pub/packages/apache/  [EMAIL 
PROTECTED]
   http ru  http://www.module.vympel.msk.ru/mirror/apache/  [EMAIL 
PROTECTED]
  -http ru  http://www.tomcat.ru/apache/[EMAIL PROTECTED]
   http ru  http://apache.inf.ru/   [EMAIL PROTECTED]
  -http se  http://www.unit.liu.se/apache/  [EMAIL PROTECTED]
   http se  http://apache.dc.luth.se/   [EMAIL PROTECTED]
  -http se  http://www.apache.nis.sll.se/   [EMAIL PROTECTED]
   http si  http://apache.siol.net/ 
   http sk  http://sunsite.uakom.sk/apache/ [EMAIL PROTECTED]
   http sk  http://www.alla.sk/apache/  [EMAIL PROTECTED]
   http su  http://www.sai.msu.su/apache/   oleg@sai.msu.su
  -http th  http://www-dc.riubon.ac.th/pub

cvs commit: apache-site/info known_bugs.html

1998-06-05 Thread brian
brian   98/06/04 23:57:43

  Modified:info known_bugs.html
  Log:
  Update for 1.3.0 final release.
  
  Revision  ChangesPath
  1.11  +21 -10apache-site/info/known_bugs.html
  
  Index: known_bugs.html
  ===
  RCS file: /export/home/cvs/apache-site/info/known_bugs.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- known_bugs.html   1998/05/31 10:46:07 1.10
  +++ known_bugs.html   1998/06/05 06:57:42 1.11
  @@ -18,23 +18,36 @@
   The most up-to-date resource for bug tracking and information is the
   A HREF=http://bugs.apache.org/index;Apache bug database/A.
   Significant bugs at release time will also be noted there.
  -If you are running a release earlier than 1.2.5
  -and think you have found a bug, please upgrade to 1.2.6.  Many bugs
  -in early versions have been fixed in 1.2.6.  It is also appreciated
  -if you could check the latest 1.3 beta releases, or at least review
  -the A HREF=http://www.apache.org/dist/CHANGES;CHANGES/A file
  -for it and ensure that your problem has not already been corrected.
  +If you are running a 1.3 beta release, or version 1.2.X or earlier
  +and think you have found a bug, please upgrade to 1.3. Many bugs
  +in early versions have been fixed in 1.3.  
   
   PThis document is not a complete list of known bugs, but simply
   a list of some of the more common ones.  FONT COLOR=redBe sure
   to check the bug database before assuming that if it isn't listed
   here it isn't reported or fixed./FONT
   
  +PIf you see a reference to a fix appearing in a version which has
  +not yet been officially released, you can get a snapshot of the
  +current CVS tree from A HREF=http://dev.apache.org/from-cvs/;the
  +CVS snapshot directory/A.
  +
   PSee Also: A HREF=../docs/misc/compat_notes.htmlCompatibility 
notes/A,
   and A HREF=../docs/misc/known_client_problems.htmlour list of known 
client
   problems/A./P
   HR
   
  +H2Apache 1.3.0 Bugs/H2
  +
  +OL
  +LIOn NT, #exec cmd in SSI pages does not work.  No fix available yet.
  +LIOn NT, mod_rewrite doesn't properly spawn children for logging 
  +and URL mapping.  Fixed in 1.3.1, A 
  +
HREF=http://www.apache.org/websrc/cvsweb.cgi/apache-1.3/src/modules/standard/mod_rewrite.c.diff?r1=1.113r2=1.114;patch
 
  +available here./A
  +LINeXT didn't compile completely; fixed in 1.3.1.
  +/OL
  +
   H2Apache 1.3b7 Bugs/H2
   
   OL
  @@ -48,7 +61,7 @@
   itself (although this is not a requirement of the CGI/1.1
   specification). See A
   HREF=http://bugs.apache.org/index/full/2317;PR#2317/A for more
  -details.
  +details.  These bugs have been fixed in 1.3.0.
   
   LIThe $ character inside an SSI directive is not being correctly 
   interpreted unless it marked the start of a variable. In
  @@ -56,9 +69,7 @@
   regular expression.  See A
   HREF=http://bugs.apache.org/index/full/1921;PR#1921/A and A
   HREF=http://bugs.apache.org/index/full/2249;PR#2249/A for more
  -details
  -
  -
  +details.  This bug has been fixed in 1.3.0
   
   /OL
   
  
  
  


cvs commit: apache-1.3/src/main util_script.c

1998-05-29 Thread brian
brian   98/05/28 16:14:12

  Modified:src/main util_script.c
  Log:
  PR: 2294
  Submitted by: W G Stoddard [EMAIL PROTECTED]
  Reviewed by:  Brian Behlendorf
  
  The environment variables were not properly being passed to the spawned
  process, now they are.
  
  Revision  ChangesPath
  1.114 +37 -11apache-1.3/src/main/util_script.c
  
  Index: util_script.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v
  retrieving revision 1.113
  retrieving revision 1.114
  diff -u -r1.113 -r1.114
  --- util_script.c 1998/05/28 11:32:44 1.113
  +++ util_script.c 1998/05/28 23:14:11 1.114
  @@ -711,7 +711,9 @@
int is_exe = 0;
STARTUPINFO si;
PROCESS_INFORMATION pi;
  - char *pCommand;
  +char *pCommand;
  +char *pEnvBlock, *pNext;
  +int iEnvBlockLen;
   
memset(si, 0, sizeof(si));
memset(pi, 0, sizeof(pi));
  @@ -861,16 +863,40 @@
  r-filename,  , arguments, NULL);
}
}
  - 
  - if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, 0, env, NULL, si, 
pi)) {
  -   pid = pi.dwProcessId;
  -   /*
  -* We must close the handles to the new process and its main thread
  -* to prevent handle and memory leaks.
  -*/ 
  -   CloseHandle(pi.hProcess);
  -   CloseHandle(pi.hThread);
  - }
  +  
  +/*
  + * Win32's CreateProcess call requires that the environment
  + * be passed in an environment block, a null terminated block of
  + * null terminated strings.
  + */
  +  
  +i = 0;
  +iEnvBlockLen = 1;
  +while (env[i]) {
  +iEnvBlockLen += strlen(env[i]) + 1;
  +i++;
  +}
  +  
  +pEnvBlock = (char *)ap_pcalloc(r-pool,iEnvBlockLen);
  +
  +i = 0;
  +pNext = pEnvBlock;
  +while (env[i]) {
  +strcpy(pNext, env[i]);
  +pNext = pNext + strlen(pNext) + 1;
  +i++;
  +}
  +
  +if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, 0, pEnvBlock,
  +  NULL, si, pi)) {
  +pid = pi.dwProcessId;
  +/*
  + * We must close the handles to the new process and its main 
thread
  + * to prevent handle and memory leaks.
  + */ 
  +CloseHandle(pi.hProcess);
  +CloseHandle(pi.hThread);
  +}
   #if 0
if ((!r-args) || (!r-args[0]) || strchr(r-args, '=')) {
if (is_exe || is_binary) {
  
  
  


cvs commit: apache-1.3/src CHANGES

1998-05-29 Thread brian
brian   98/05/28 16:23:04

  Modified:src  CHANGES
  Log:
  Comment my last two commits.
  
  Revision  ChangesPath
  1.870 +10 -1 apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.869
  retrieving revision 1.870
  diff -u -r1.869 -r1.870
  --- CHANGES   1998/05/28 11:09:44 1.869
  +++ CHANGES   1998/05/28 23:23:02 1.870
  @@ -1,5 +1,14 @@
   Changes with Apache 1.3b8
  - 
  +
  +  *) Propagate environment to CGI scripts correctly in Win32.
  + [W G Stoddard [EMAIL PROTECTED]] PR#2294
  +
  +  *) Some symbol renaming:
  + ap_spawn_child_err became ap_spawn_child
  + ap_spawn_child_err_buff became ap_bspawn_child
  + spawn_child was obsoleted and moved to compat.h
  + [Brian Behlendorf]
  +
 *) Upgrade the child spawning code in mod_rewrite for the RewriteMap
programs: ap_spawn_child_err() is used and the Win32 case now uses
CreateProcess() instead of a low-level execl() (which caused problems in
  
  
  


cvs commit: apache-1.3/src/main util_script.c

1998-05-29 Thread brian
brian   98/05/28 16:26:41

  Modified:src/main util_script.c
  Log:
  Submitted by: W G Stoddard [EMAIL PROTECTED]
  Reviewed by:  Dean Gaudet, Brian Behlendorf
  
  Have NT properly set the directory for CGI scripts ( other spawned children)
  
  Revision  ChangesPath
  1.115 +2 -1  apache-1.3/src/main/util_script.c
  
  Index: util_script.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v
  retrieving revision 1.114
  retrieving revision 1.115
  diff -u -r1.114 -r1.115
  --- util_script.c 1998/05/28 23:14:11 1.114
  +++ util_script.c 1998/05/28 23:26:41 1.115
  @@ -888,7 +888,8 @@
   }
   
   if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, 0, pEnvBlock,
  -  NULL, si, pi)) {
  +  ap_make_dirstr_parent(r-pool, r-filename),
  +  si, pi)) {
   pid = pi.dwProcessId;
   /*
* We must close the handles to the new process and its main 
thread
  
  
  


cvs commit: apache-1.3/src CHANGES

1998-05-29 Thread brian
brian   98/05/28 16:28:01

  Modified:.STATUS
   src  CHANGES
  Log:
  bookkeeping.
  
  Revision  ChangesPath
  1.408 +0 -2  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.407
  retrieving revision 1.408
  diff -u -r1.407 -r1.408
  --- STATUS1998/05/28 17:53:06 1.407
  +++ STATUS1998/05/28 23:27:55 1.408
  @@ -17,8 +17,6 @@
for buffer overflow, someone should rewrite or verify
they're safe
   
  -* CGI: chdir() needs to be reinstated for CGI.
  -
   * Win95: when authentication is required for directory /foobar/, direct 
 access to /foobar/bletch is permitted.  PR #2145
   
  
  
  
  1.871 +4 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.870
  retrieving revision 1.871
  diff -u -r1.870 -r1.871
  --- CHANGES   1998/05/28 23:23:02 1.870
  +++ CHANGES   1998/05/28 23:27:59 1.871
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b8
   
  +  *) Have NT properly set the directory for CGI scripts 
  + ( other spawned children)
  + [W G Stoddard [EMAIL PROTECTED]]
  +
 *) Propagate environment to CGI scripts correctly in Win32.
[W G Stoddard [EMAIL PROTECTED]] PR#2294
   
  
  
  


cvs commit: apache-1.3/src/main http_main.c

1998-05-29 Thread brian
brian   98/05/28 17:16:03

  Modified:src  CHANGES
   src/include conf.h httpd.h
   src/main http_main.c
  Log:
  various OS/2 cleanups.
  
  Revision  ChangesPath
  1.873 +2 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.872
  retrieving revision 1.873
  diff -u -r1.872 -r1.873
  --- CHANGES   1998/05/28 23:59:33 1.872
  +++ CHANGES   1998/05/29 00:15:51 1.873
  @@ -1,5 +1,7 @@
   Changes with Apache 1.3b8
   
  +  *) Various OS/2 cleanups [Brian Havard [EMAIL PROTECTED]]
  +
 *) PORT: QNX needed a #include sys/mman.h; and now it uses flock
serialized accept to handle multiple sockets.
[Rob Saccoccio [EMAIL PROTECTED]] PR#2295, 2296
  
  
  
  1.212 +1 -0  apache-1.3/src/include/conf.h
  
  Index: conf.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/conf.h,v
  retrieving revision 1.211
  retrieving revision 1.212
  diff -u -r1.211 -r1.212
  --- conf.h1998/05/28 23:59:39 1.211
  +++ conf.h1998/05/29 00:15:56 1.212
  @@ -679,6 +679,7 @@
   #define MAXSOCKETS 4096
   #define USE_OS2_SCOREBOARD
   #define NO_RELIABLE_PIPED_LOGS
  +#define HAVE_SYS_SELECT_H 1
   
   #elif defined(__MACHTEN__)
   typedef int rlim_t;
  
  
  
  1.218 +3 -0  apache-1.3/src/include/httpd.h
  
  Index: httpd.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/httpd.h,v
  retrieving revision 1.217
  retrieving revision 1.218
  diff -u -r1.217 -r1.218
  --- httpd.h   1998/05/28 19:57:07 1.217
  +++ httpd.h   1998/05/29 00:15:56 1.218
  @@ -887,6 +887,9 @@
   API_EXPORT(int) ap_strcmp_match(const char *str, const char *exp);
   API_EXPORT(int) ap_strcasecmp_match(const char *str, const char *exp);
   API_EXPORT(char *) ap_uudecode(pool *, const char *);
  +#ifdef __EMX__
  +void os2pathname(char *path);
  +#endif
   
   API_EXPORT(char *) ap_pregsub(pool *p, const char *input, const char *source,
   size_t nmatch, regmatch_t pmatch[]);
  
  
  
  1.356 +1 -1  apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.355
  retrieving revision 1.356
  diff -u -r1.355 -r1.356
  --- http_main.c   1998/05/28 23:59:35 1.355
  +++ http_main.c   1998/05/29 00:15:59 1.356
  @@ -189,6 +189,7 @@
   #ifdef USE_OS2_SCOREBOARD
   /* Add MMAP style functionality to OS/2 */
   #define INCL_DOSMEMMGR
  +#define INCL_DOSEXCEPTIONS
   #include os2.h
   #include umalloc.h
   #include stdio.h
  @@ -1485,7 +1486,6 @@
   {
   caddr_t m;
   
  -char errstr[MAX_STRING_LEN];
   int rc;
   
   m = (caddr_t) create_shared_heap(\\SHAREMEM\\SCOREBOARD, 
SCOREBOARD_SIZE);
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_log_agent.c mod_log_config.c mod_log_referer.c mod_mime.c

1998-05-29 Thread brian
brian   98/05/28 18:09:06

  Modified:src  CHANGES
   src/modules/standard mod_log_agent.c mod_log_config.c
mod_log_referer.c mod_mime.c
  Log:
  PR: 1967
  
  Usage of printf(stderr, ...) is now ap_log_error, which is more resiliant in
  the face of certain failures.
  
  Thanks to Ralf  Dean for the hints.
  
  Revision  ChangesPath
  1.874 +4 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.873
  retrieving revision 1.874
  diff -u -r1.873 -r1.874
  --- CHANGES   1998/05/29 00:15:51 1.873
  +++ CHANGES   1998/05/29 01:08:57 1.874
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b8
   
  +  *) Changes usage of perror/fprintf to stderr to more proper ap_log_error
  + in mod_mime, mod_log_referer, mod_log_agent, and mod_log_config.
  + [Brian Behlendorf]
  +
 *) Various OS/2 cleanups [Brian Havard [EMAIL PROTECTED]]
   
 *) PORT: QNX needed a #include sys/mman.h; and now it uses flock
  
  
  
  1.27  +2 -2  apache-1.3/src/modules/standard/mod_log_agent.c
  
  Index: mod_log_agent.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_agent.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- mod_log_agent.c   1998/05/19 23:48:36 1.26
  +++ mod_log_agent.c   1998/05/29 01:09:03 1.27
  @@ -125,8 +125,8 @@
   }
   else if (*cls-fname != '\0') {
   if ((cls-agent_fd = ap_popenf(p, fname, xfer_flags, xfer_mode))  
0) {
  -perror(open);
  -fprintf(stderr, httpd: could not open agent log file %s.\n, 
fname);
  +ap_log_error(APLOG_MARK, APLOG_ERR, s,
  + httpd: could not open agent log file %s.\n, 
fname);
   exit(1);
   }
   }
  
  
  
  1.58  +2 -3  apache-1.3/src/modules/standard/mod_log_config.c
  
  Index: mod_log_config.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_config.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- mod_log_config.c  1998/05/20 12:15:07 1.57
  +++ mod_log_config.c  1998/05/29 01:09:04 1.58
  @@ -916,9 +916,8 @@
   else {
   char *fname = ap_server_root_relative(p, cls-fname);
   if ((cls-log_fd = ap_popenf(p, fname, xfer_flags, xfer_mode))  0) {
  -perror(open);
  -fprintf(stderr, httpd: could not open transfer log file %s.\n,
  -fname);
  +ap_log_error(APLOG_MARK, APLOG_ERR, s,
  + httpd: could not open transfer log file %s.\n, 
fname);
   exit(1);
   }
   }
  
  
  
  1.30  +4 -4  apache-1.3/src/modules/standard/mod_log_referer.c
  
  Index: mod_log_referer.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_referer.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- mod_log_referer.c 1998/05/20 22:54:01 1.29
  +++ mod_log_referer.c 1998/05/29 01:09:04 1.30
  @@ -142,10 +142,10 @@
   }
   else if (*cls-fname != '\0') {
   if ((cls-referer_fd = ap_popenf(p, fname, xfer_flags, xfer_mode))  
0) {
  -perror(open);
  -fprintf(stderr, httpd: could not open referer log file %s.\n, 
fname);
  -exit(1);
  -}
  + ap_log_error(APLOG_MARK, APLOG_ERR, s,
  +  httpd: could not open referer log file %s.\n, 
fname);
  + exit(1);
  + }
   }
   }
   
  
  
  
  1.40  +3 -3  apache-1.3/src/modules/standard/mod_mime.c
  
  Index: mod_mime.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_mime.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- mod_mime.c1998/04/11 12:00:49 1.39
  +++ mod_mime.c1998/05/29 01:09:04 1.40
  @@ -66,6 +66,7 @@
   
   #include httpd.h
   #include http_config.h
  +#include http_log.h
   
   typedef struct {
   table *forced_types;/* Additional AddTyped stuff */
  @@ -215,9 +216,8 @@
   types_confname = ap_server_root_relative(p, types_confname);
   
   if (!(f = ap_pcfg_openfile(p, types_confname))) {
  -perror(fopen);
  -fprintf(stderr, httpd: could not open mime types file %s\n,
  -types_confname);
  +ap_log_error(APLOG_MARK, APLOG_ERR, s,
  +  httpd: could not open mime types log file %s.\n, 
types_confname);
   exit(1);
   }
   
  
  
  


cvs commit: apache-1.3/conf access.conf-dist access.conf-dist-win

1998-05-29 Thread brian
brian   98/05/28 18:27:51

  Modified:conf access.conf-dist access.conf-dist-win
  Log:
  Place a default configuration for the root dir which is very restrictive.
  
  Thanks to Dean for the hint.
  
  Revision  ChangesPath
  1.13  +14 -1 apache-1.3/conf/access.conf-dist
  
  Index: access.conf-dist
  ===
  RCS file: /export/home/cvs/apache-1.3/conf/access.conf-dist,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- access.conf-dist  1997/08/19 23:00:22 1.12
  +++ access.conf-dist  1998/05/29 01:27:49 1.13
  @@ -10,6 +10,19 @@
   
   # Originally by Rob McCool
   
  +# First, we configure the default to be a very restrictive set of 
  +# permissions.  
  +
  +Directory /
  +Options None
  +AllowOverride None
  +/Directory
  +
  +# Note that from this point forward you must specifically allow
  +# particular features to be enabled - so if something's not working as
  +# you might expect, make sure that you have specifically enabled it
  +# below.
  +
   # This should be changed to whatever you set DocumentRoot to.
   
   Directory @@ServerRoot@@/htdocs
  @@ -18,7 +31,7 @@
   # Includes, FollowSymLinks, ExecCGI, or MultiViews.
   
   # Note that MultiViews must be named *explicitly* --- Options All
  -# doesn't give it to you (or at least, not yet).
  +# doesn't give it to you.
   
   Options Indexes FollowSymLinks
   
  
  
  
  1.4   +13 -0 apache-1.3/conf/access.conf-dist-win
  
  Index: access.conf-dist-win
  ===
  RCS file: /export/home/cvs/apache-1.3/conf/access.conf-dist-win,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- access.conf-dist-win  1997/10/25 19:10:09 1.3
  +++ access.conf-dist-win  1998/05/29 01:27:50 1.4
  @@ -15,6 +15,19 @@
   
   # Originally by Rob McCool
   
  +# First, we configure the default to be a very restrictive set of 
  +# permissions.  
  +
  +Directory /
  +Options None
  +AllowOverride None
  +/Directory
  +
  +# Note that from this point forward you must specifically allow
  +# particular features to be enabled - so if something's not working as
  +# you might expect, make sure that you have specifically enabled it
  +# below.
  +
   # This should be changed to whatever you set DocumentRoot to.
   
   Directory @@ServerRoot@@/htdocs
  
  
  


cvs commit: apache-1.3/conf access.conf-dist-win

1998-05-29 Thread brian
brian   98/05/28 18:31:32

  Modified:conf access.conf-dist-win
  Log:
  Missed one.
  
  Revision  ChangesPath
  1.5   +1 -1  apache-1.3/conf/access.conf-dist-win
  
  Index: access.conf-dist-win
  ===
  RCS file: /export/home/cvs/apache-1.3/conf/access.conf-dist-win,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- access.conf-dist-win  1998/05/29 01:27:50 1.4
  +++ access.conf-dist-win  1998/05/29 01:31:32 1.5
  @@ -36,7 +36,7 @@
   # Includes, FollowSymLinks, ExecCGI, or MultiViews.
   
   # Note that MultiViews must be named *explicitly* --- Options All
  -# doesn't give it to you (or at least, not yet).
  +# doesn't give it to you.
   
   Options Indexes FollowSymLinks
   
  
  
  


cvs commit: apache-site/mirrors mirrors.list index.html

1998-05-29 Thread brian
brian   98/05/29 00:21:41

  Modified:mirrors  mirrors.list index.html
  Log:
  Australia update.
  
  Revision  ChangesPath
  1.45  +2 -2  apache-site/mirrors/mirrors.list
  
  Index: mirrors.list
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/mirrors.list,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- mirrors.list  1998/05/20 23:47:11 1.44
  +++ mirrors.list  1998/05/29 07:21:39 1.45
  @@ -1,6 +1,6 @@
   http ar  http://www.infoap.com.ar/apache/[EMAIL PROTECTED]
   http at  http://gd.tuwien.ac.at/infosys/servers/http/apache/ [EMAIL 
PROTECTED]
  -http au  http://Bond.edu.au/External/Misc/apache/[EMAIL 
PROTECTED]
  +http au  http://mirror.aarnet.edu.au/apache  [EMAIL PROTECTED]
   http au  http://www.syd.dit.csiro.au/tools/apache/   [EMAIL 
PROTECTED]
   http be  http://apache.belnet.be/[EMAIL PROTECTED]
   http be  http://apache.digibel.be/   [EMAIL PROTECTED]
  @@ -107,7 +107,7 @@
   http za  http://apache.is.co.za/ [EMAIL PROTECTED]
   ftp  ar  ftp://ftp.infoap.com.ar/pub/apache/dist/
   ftp  at  ftp://gd.tuwien.ac.at/pub/infosys/servers/http/apache/dist/
  -ftp  au  ftp://Bond.edu.au/pub/apache/dist/
  +ftp  au  ftp://mirror.aarnet.edu.au/pub/apache
   ftp  be  ftp://ftp.belnet.be/packages/apache/
   ftp  bg  ftp://ftp.ntrl.net/pub/mirror/apache/
   ftp  br  ftp://ftp.gns.com.br/pub/unix/apache/dist/
  
  
  
  1.33  +4 -4  apache-site/mirrors/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/index.html,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- index.html1998/05/20 23:47:13 1.32
  +++ index.html1998/05/29 07:21:40 1.33
  @@ -27,8 +27,8 @@
   !-- [EMAIL PROTECTED] --
   A HREF=http://gd.tuwien.ac.at/infosys/servers/http/apache/;at/A -
   !-- [EMAIL PROTECTED] --
  -A HREF=http://Bond.edu.au/External/Misc/apache/;au/A -
  -!-- [EMAIL PROTECTED] --
  +A HREF=http://mirror.aarnet.edu.au/apache;au/A -
  +!-- [EMAIL PROTECTED] --
   A HREF=http://www.syd.dit.csiro.au/tools/apache/;au/A -
   !-- [EMAIL PROTECTED] --
   A HREF=http://apache.belnet.be/;be/A -
  @@ -244,7 +244,7 @@
   !--  --
   A HREF=ftp://gd.tuwien.ac.at/pub/infosys/servers/http/apache/dist/;at/A 
-
   !--  --
  -A HREF=ftp://Bond.edu.au/pub/apache/dist/;au/A -
  +A HREF=ftp://mirror.aarnet.edu.au/pub/apache;au/A -
   !--  --
   A HREF=ftp://ftp.belnet.be/packages/apache/;be/A -
   !--  --
  @@ -397,7 +397,7 @@
   /STRONG
   /P
   
  -P ALIGN=CENTERSTRONGA HREF=../info/how-to-mirror.htmlHow do I become 
an Apache mirror site?/A/STRONG
  +P ALIGN=CENTERBA HREF=../info/how-to-mirror.htmlHow do I become an 
Apache mirror site?/A/B
   
   PHR
   
  
  
  


cvs commit: apache-1.3/htdocs/manual sourcereorg.html

1998-05-28 Thread brian
brian   98/05/28 10:53:11

  Modified:.STATUS
   htdocs/manual sourcereorg.html
  Log:
  Added link to dso.html from sourcereorg.html for clarity.  Also, Paul's
  windows.html recent update was excellent.
  
  Revision  ChangesPath
  1.407 +0 -5  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.406
  retrieving revision 1.407
  diff -u -r1.406 -r1.407
  --- STATUS1998/05/28 17:41:16 1.406
  +++ STATUS1998/05/28 17:53:06 1.407
  @@ -24,11 +24,6 @@
   
   Documentation that needs writing:
   
  -* Documentation for:
  -  1) htdocs/manual/sourcereorg.html and other files should mention 
  - new mod_so capabilities.
  -  2) windows.html should be cleaned up.
  -
   * Need a document explaining mod_rewrite/UseCanonicalName off based
virtualhosting.  (If it exists already I can't find it easily.)
   
  
  
  
  1.11  +9 -7  apache-1.3/htdocs/manual/sourcereorg.html
  
  Index: sourcereorg.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/sourcereorg.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- sourcereorg.html  1998/04/11 12:27:50 1.10
  +++ sourcereorg.html  1998/05/28 17:53:10 1.11
  @@ -145,13 +145,15 @@
create a Makefile to build the module given a file containing
the module's dependencies.
/LI
  - LIFor building a third-party module STRONGoutside/STRONG
  - the Apache source tree the new CODEapxs/CODE support tool can be 
used
  - to compile the module into a dynamic shared object (DSO), install it 
into
  - the existing Apache installation and optionally activating it in the
  - Apache CODEhttpd.conf/CODE file.  The only requirement is that 
Apache
  - has DSO-support for the used platform and the module CODEmod_so/CODE
  - was built into the server binary CODEhttpd/CODE.
  + LIFor building a third-party module STRONGoutside/STRONG the
  + Apache source tree the new CODEapxs/CODE support tool can be
  + used to compile the module into a A HREF=dso.htmldynamic
  + shared object (DSO)/A, install it into the existing Apache
  + installation and optionally activating it in the Apache
  + CODEhttpd.conf/CODE file.  The only requirement is that
  + Apache has DSO-support for the used platform and the module
  + CODEA HREF=mod/mod_so.htmlmod_so/A/CODE was built into
  + the server binary CODEhttpd/CODE.
/LI
   /UL
   
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_cgi.c mod_include.c mod_mime_magic.c mod_rewrite.c

1998-05-28 Thread brian
brian   98/05/28 15:10:00

  Modified:htdocs/manual new_features_1_3.html
   src/include alloc.h buff.h compat.h
   src/main alloc.c http_log.c
   src/modules/standard mod_cgi.c mod_include.c
mod_mime_magic.c mod_rewrite.c
  Log:
  In the interests of some API cleanup:
  
  I converted all occurances of spawn_child to ap_spawn_child_err, and
  removed the spawn_child macro (actually moved it to compat.h)
  
  I then changed ap_spawn_child_err to simply ap_spawn_child, and
  ap_spawn_child_err_buff to ap_bspawn_child.
  
  These are all cosmetic and should not change functionality, but I think
  this will be of assistance to module authors trying to learn by examples we
  set in our code (lord help them!).
  
  Approved in concept by dgaudet  rse.
  
  Revision  ChangesPath
  1.65  +8 -3  apache-1.3/htdocs/manual/new_features_1_3.html
  
  Index: new_features_1_3.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/new_features_1_3.html,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- new_features_1_3.html 1998/05/20 23:08:35 1.64
  +++ new_features_1_3.html 1998/05/28 22:09:41 1.65
  @@ -419,7 +419,7 @@
   coming from the client).
   
   DTSTRONGCODEkill_only_once/CODE/STRONG
  -DDAn option to CODEspawn_child/CODE functions which prevents Apache
  +DDAn option to CODEap_spawn_child/CODE functions which prevents Apache
   from aggressively trying to kill off the child.
   
   DTSTRONGCODEalloc debugging code/CODE/STRONG
  @@ -453,11 +453,16 @@
   A HREF=mod/core.html#usecanonicalnameUseCanonicalName/A directive
   when retrieving the server name and port for a request.
   
  -DTSTRONGChange to prototype for CODEap_spawn_child_err_buff/CODE and
  +DTSTRONGChange to prototype for CODEap_bspawn_child/CODE and
   CODEap_call_exec/CODE/STRONG
   DDAdded a CODEchild_info */CODE to CODEspawn/CODE function 
  -(as passed to CODEap_spawn_child_err_buff/CODE) and to 
  +(as passed to CODEap_bspawn_child/CODE) and to 
   CODEap_call_exec/CODE to allow children to work correctly on Win32.
  +We also cleaned up the nomenclature a bit, replacing
  +CODEspawn_child_err/CODE with simply
  +CODEap_spawn_child/CODE and CODEspawn_child_err_buff/CODE
  +with simply CODEap_bspawn_child/CODE.
  +
   /DL
   
   PHR
  
  
  
  1.59  +2 -3  apache-1.3/src/include/alloc.h
  
  Index: alloc.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/alloc.h,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- alloc.h   1998/05/18 20:41:30 1.58
  +++ alloc.h   1998/05/28 22:09:45 1.59
  @@ -286,7 +286,7 @@
   /* ... even child processes (which we may want to wait for,
* or to kill outright, on unexpected termination).
*
  - * spawn_child is a utility routine which handles an awful lot of
  + * ap_spawn_child is a utility routine which handles an awful lot of
* the rigamarole associated with spawning a child --- it arranges
* for pipes to the child's stdin and stdout, if desired (if not,
* set the associated args to NULL).  It takes as args a function
  @@ -304,11 +304,10 @@
   typedef struct child_info child_info;
   API_EXPORT(void) ap_note_subprocess(pool *a, int pid,
enum kill_conditions how);
  -API_EXPORT(int) ap_spawn_child_err(pool *, int (*)(void *, child_info *),
  +API_EXPORT(int) ap_spawn_child(pool *, int (*)(void *, child_info *),
   void *, enum kill_conditions,
   FILE **pipe_in, FILE **pipe_out,
   FILE **pipe_err);
  -#define spawn_child(p,f,v,k,in,out) ap_spawn_child_err(p,f,v,k,in,out,NULL)
   
   /* magic numbers --- min free bytes to consider a free pool block useable,
* and the min amount to allocate if we have to go to malloc() */
  
  
  
  1.44  +1 -1  apache-1.3/src/include/buff.h
  
  Index: buff.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/buff.h,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- buff.h1998/05/19 19:29:00 1.43
  +++ buff.h1998/05/28 22:09:46 1.44
  @@ -217,7 +217,7 @@
   int dummy;
   #endif
   };
  -API_EXPORT(int) ap_spawn_child_err_buff(pool *, int (*)(void *, child_info 
*), void *,
  +API_EXPORT(int) ap_bspawn_child(pool *, int (*)(void *, child_info *), void 
*,
enum kill_conditions, BUFF **pipe_in, 
BUFF **pipe_out,
BUFF **pipe_err);
   
  
  
  
  1.10  +7 -2  apache-1.3/src/include/compat.h
  
  Index: compat.h

cvs commit: apache-site bugdb.cgi

1998-05-27 Thread brian
brian   98/05/26 20:29:46

  Modified:.bugdb.cgi
  Log:
  Force From field to default to @apache.org for editors without full
  domain names.
  
  Revision  ChangesPath
  1.30  +5 -0  apache-site/bugdb.cgi
  
  Index: bugdb.cgi
  ===
  RCS file: /export/home/cvs/apache-site/bugdb.cgi,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- bugdb.cgi 1998/05/24 13:51:00 1.29
  +++ bugdb.cgi 1998/05/27 03:29:45 1.30
  @@ -119,6 +119,8 @@
   #email syntax validation (Dean Gaudet's suggestion).
   #  05/24/1998 Ken Coar - change my address and put a 'Go' SUBMIT button right
   #next to the 'go directly to' option (saves mouse motion).
  +#  05/26/1998 Brian Behlendorf - force From field to default to @apache.org
  +#for editors without full domain names.
   #
   ### End Modification log
   
  @@ -907,6 +909,9 @@
   
   # Email-notify all concerned parties
   #print -/pre\n;
  +
  +#add @apache.org if there's no domain on the editor's email addy.
  +$input{'Editor'} .= [EMAIL PROTECTED] if ($input{'Editor'} !~ /@/);
   local($mail_to, $mailed) = (, 0);
   $mail_to = join(, , sort(keys(%mail_to)));
   if (($mail_to ne )  (!$input{NoNotify})) {
  
  
  


cvs commit: apache-site/dist Announcement.html Announcement.txt

1998-05-26 Thread brian
brian   98/05/26 12:43:18

  Modified:dist Announcement.html Announcement.txt
  Log:
  Installed the files into the distribution directory, in preparation
  for release of 1.3b7.
  
  Note that I removed the email addresses from the HTML version to
  prevent spam robots from collecting addresses.
  
  Revision  ChangesPath
  1.6   +31 -110   apache-site/dist/Announcement.html
  
  Index: Announcement.html
  ===
  RCS file: /export/home/cvs/apache-site/dist/Announcement.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Announcement.html 1998/05/23 22:21:24 1.5
  +++ Announcement.html 1998/05/26 19:43:17 1.6
  @@ -1,120 +1,41 @@
   HTML
   HEAD
  -TITLEApache 1.3 Beta 6 Released/TITLE
  +TITLEApache 1.3 Beta 7 Released/TITLE
   /HEAD
  -body bgcolor=#ff
  -PRE
  +BODY
   
  - STRONGApache 1.3 Beta 6 Released/STRONG
  - ==
  +H1Apache 1.3 Beta 7 Released/H1
   
  - The Apache Group is pleased to announce the release of the 1.3b6 version
  - of Apache, the latest beta release of the Apache HTTP server. 1.3b6 is
  - a release candidate for Apache 1.3.0.
  +PThe Apache Group is pleased to announce the release of the 1.3b7 version
  + of Apache, the latest beta release of the Apache HTTP server.  1.3b7 is
  + a second release candidate for Apache 1.3.0.

  - This version is stable under UNIX but remains beta-level under Win32. No
  - new features are expected between 1.3b6 and 1.3.0, so please give this
  +PThis version is stable under UNIX but remains beta-level under Win32.  No
  + new features are expected between 1.3b7 and 1.3.0, so please give this
version a good thrashing in order to provide as much feedback as possible
to the Apache Group before the release of 1.3.0.
   
  - To grab the latest Apache distribution, check out
  - A HREF=http://www.apache.org/dist/;http://www.apache.org/dist//A
  - and the huge list of available International Mirror Sites at
  - A 
HREF=http://www.apache.org/mirrors/;http://www.apache.org/mirrors//A
  +PFor a full list of specific code changes see A 
HREF=CHANGESCHANGES/A.
   
  - For a detailed list of changes please read the CHANGES file in the
  - distribution and the New Features with Apache 1.3 document at
  - lt;A HREF=http://www.apache.org/docs/new_features_1_3.html;
  - http://www.apache.org/docs/new_features_1_3.html/Agt;.
  - For your convenience here
  - is a short summary of all major changes between Apache 1.2 and 1.3 (changes
  - which are new with version 1.3b6 are tagged '+'):
  -
  -   o Ported to Windows 95/NT
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/htdocs/manual/windows;http://www.apache.org/dist/apache_1.3b6/htdocs/manual/windows/A
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/README.NT;http://www.apache.org/dist/apache_1.3b6/README.NT/A
  -
  -   o Ported to BS2000/OSD, a mainframe OS with EBCDIC charset 
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/htdocs/manual/ebcdic;http://www.apache.org/dist/apache_1.3b6/htdocs/manual/ebcdic/A
  -
  -STRONG   + Apache Autoconf-style Interface (APACI) for out-of-the-box 
installation/STRONG
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/README.configure;http://www.apache.org/dist/apache_1.3b6/README.configure/A
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/INSTALL;http://www.apache.org/dist/apache_1.3b6/INSTALL/A
  -
  -STRONG   + Dynamic Shared Object (DSO) support for all major Unix 
platforms /STRONG
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/src/README.DSO;http://www.apache.org/dist/apache_1.3b6/src/README.DSO/A
  -
  -STRONG   + APache eXtenSion (APXS) tool for building third-party modules 
as DSO/STRONG
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/src/README.DSO;http://www.apache.org/dist/apache_1.3b6/src/README.DSO/A
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/src/support/;http://www.apache.org/dist/apache_1.3b6/src/support//A
  -
  -STRONG   + Additional support tools: apachectl, ab (ApacheBench), 
dbmmanage/STRONG
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/src/support/;http://www.apache.org/dist/apache_1.3b6/src/support//A
  -
  -STRONG   + Enhanced configuration support: Include and 
Line-Continuation/STRONG
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/htdocs/manual/new_features_1_3;http://www.apache.org/dist/apache_1.3b6/htdocs/manual/new_features_1_3/A
  -
  -   o New `Magic' MIME-typing module for content type guessing 
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/htdocs/manual/mod/mod_mime_magic;http://www.apache.org/dist/apache_1.3b6/htdocs/manual/mod/mod_mime_magic/A
  -
  -   o Regular Expression support for Alias and Redirect directives
  -   A 
HREF=http://www.apache.org/dist/apache_1.3b6/htdocs/manual/mod/mod_alias;http://www.apache.org/dist/apache_1.3b6/htdocs/manual

cvs commit: apache-site/dist README.html

1998-05-26 Thread brian
brian   98/05/26 12:47:40

  Modified:dist README.html
  Log:
  more 1.3b7 release prep work.
  
  Revision  ChangesPath
  1.14  +6 -6  apache-site/dist/README.html
  
  Index: README.html
  ===
  RCS file: /export/home/cvs/apache-site/dist/README.html,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- README.html   1998/05/20 15:20:48 1.13
  +++ README.html   1998/05/26 19:47:40 1.14
  @@ -8,27 +8,27 @@
   PFor information about new features in 1.2, see the 
   A HREF=../docs/documentation/A.
   
  -H2Apache 1.3b6 Released/H2
  +H2Apache 1.3b7 Released/H2
   
   P
   
  -Apache 1.3b6 is the latest public beta of the forthcoming Apache 1.3 Server
  -and a release candidate for 1.3.0.  Apache 1.3 includes several new
  +Apache 1.3b7 is the latest public beta of the forthcoming Apache 1.3 Server
  +and the second release candidate for 1.3.0.  Apache 1.3 includes several new
   enhancements, improvements and performance boosts, but the most visible
   additions are the ability to A HREF=../docs/windowsrun under Microsoft
   Windows NT 4.0 amp; 95/A and the new A
  -HREF=apache_1.3b6/INSTALLAutoconf-style Interface for Unix/A.
  +HREF=apache_1.3b7/INSTALLAutoconf-style Interface for Unix/A.
   For a compact summary of the more important changes check out the A
   HREF=Announcement.htmlAnnouncement/A and for a detailed log of all 
changes
   check out the A HREF=CHANGESCHANGES/A file.
   
  -PFONT COLOR=redImportant Note:/FONT Since 1.3b6 is a beta
  +PFONT COLOR=redImportant Note:/FONT Since 1.3b7 is a beta
   release, it undoubtedly has its share of warts and bugs.  Although it
   has been tested quite strenuously, your milage may vary.
   
   PFor information about new features in 1.3, see the 
   A HREF=../docs/documentation/A.  For information about some of
  -the known issues in 1.3b6, see the A HREF=../info/known_bugs.html
  +the known issues in 1.3b7, see the A HREF=../info/known_bugs.html
   known bugs/A page.
   
   H2Compilation note:/H2
  
  
  


cvs commit: apache-site index.html

1998-05-26 Thread brian
brian   98/05/26 12:49:30

  Modified:.index.html
  Log:
  Release of 1.3b7
  
  Revision  ChangesPath
  1.56  +4 -4  apache-site/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/index.html,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- index.html1998/05/23 03:41:57 1.55
  +++ index.html1998/05/26 19:49:30 1.56
  @@ -72,17 +72,17 @@
   
   PHR
   
  -H2 ALIGN=CENTERApache 1.3b6 Now Available:
  +H2 ALIGN=CENTERApache 1.3b7 Now Available:
   BRThe latest public beta release of Apache 1.3/H2
   
   PBLOCKQUOTE
   
  -Apache 1.3b6 is the latest public beta of the forthcoming Apache 1.3 Server
  +Apache 1.3b7 is the latest public beta of the forthcoming Apache 1.3 Server
   and a release candidate for 1.3.0.  Apache 1.3 includes several new
   enhancements, improvements and performance boosts, but the most visible
   additions are the ability to A HREF=docs/windowsrun under Microsoft
   Windows NT 4.0 amp; 95/A and the new A
  -HREF=dist/apache_1.3b6/INSTALLAutoconf-style Interface for Unix/A.
  +HREF=dist/apache_1.3b7/INSTALLAutoconf-style Interface for Unix/A.
   For a compact summary of the more important changes check out the A
   HREF=dist/Announcement.htmlAnnouncement/A and for a detailed log of all
   changes check out the A HREF=dist/CHANGESCHANGES/A file.
  @@ -91,7 +91,7 @@
   
   P ALIGN=CENTER
   
  -A HREF=dist/Download Apache 1.3b6/A | 
  +A HREF=dist/Download Apache 1.3b7/A | 
   A HREF=docs/windows.htmlApache for Windows/A |
   A HREF=docs/new_features_1_3.htmlNew Features in Apache 1.3/A
   
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-26 Thread brian
brian   98/05/26 13:35:22

  Modified:.STATUS
  Log:
  Updated dates.
  
  Revision  ChangesPath
  1.405 +2 -2  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.404
  retrieving revision 1.405
  diff -u -r1.404 -r1.405
  --- STATUS1998/05/21 04:11:18 1.404
  +++ STATUS1998/05/26 20:35:20 1.405
  @@ -2,10 +2,10 @@
   
   Release:
   
  -1.3.0: Shoot for May 19, 1998 Release!
  +1.3.0: Shoot for June 1st, 1998 Release
  Brian to be RM, Jim will do announcements
   
  -1.3b7: 1.3.0 release candidate for May 13th
  +1.3b7: Released 26/5/98.  If no major errors, will become 1.3.0
   
   2.0  : In pre-alpha development, see apache-2.0 repository
   
  
  
  


cvs commit: apache-site/mirrors mirrors.list index.html

1998-05-21 Thread brian
brian   98/05/20 16:47:15

  Modified:mirrors  mirrors.list index.html
  Log:
  
  
  Revision  ChangesPath
  1.44  +2 -0  apache-site/mirrors/mirrors.list
  
  Index: mirrors.list
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/mirrors.list,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- mirrors.list  1998/04/28 04:57:38 1.43
  +++ mirrors.list  1998/05/20 23:47:11 1.44
  @@ -8,6 +8,7 @@
   http br  http://br.apache.org/   [EMAIL PROTECTED]
   http br  http://redes.ucpel.tche.br/apache-mirror/   [EMAIL 
PROTECTED]
   http br  http://apache.abordo.com.br/[EMAIL PROTECTED]
  +http ca  http://www.ccai.com/apache/ [EMAIL PROTECTED]
   http ca  http://micromou.point-net.com/mirror/apache/[EMAIL 
PROTECTED]
   http ch  http://sunsite.cnlab-switch.ch/www/mirror/apache/   [EMAIL 
PROTECTED]
   http co  http://apache.interred.net.co/  [EMAIL PROTECTED]
  @@ -111,6 +112,7 @@
   ftp  bg  ftp://ftp.ntrl.net/pub/mirror/apache/
   ftp  br  ftp://ftp.gns.com.br/pub/unix/apache/dist/
   ftp  br  ftp://ftp.abordo.com.br/pub/apache/
  +ftp  ca  ftp://ftp.ccai.com/apache/
   ftp  cr  ftp://ftp.ucr.ac.cr/pub/WWW/Unix/apache/dist/
   ftp  ch  ftp://sunsite.cnlab-switch.ch/mirror/apache/dist/
   ftp  cz  
ftp://sunsite.mff.cuni.cz/Net/Infosystems/WWW/Servers/Apache/dist/
  
  
  
  1.32  +4 -0  apache-site/mirrors/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/index.html,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- index.html1998/05/20 15:20:55 1.31
  +++ index.html1998/05/20 23:47:13 1.32
  @@ -43,6 +43,8 @@
   !-- [EMAIL PROTECTED] --
   A HREF=http://apache.abordo.com.br/;br/A -
   !-- [EMAIL PROTECTED] --
  +A HREF=http://www.ccai.com/apache/;ca/A -
  +!-- [EMAIL PROTECTED] --
   A HREF=http://micromou.point-net.com/mirror/apache/;ca/A -
   !-- [EMAIL PROTECTED] --
   A HREF=http://sunsite.cnlab-switch.ch/www/mirror/apache/;ch/A -
  @@ -251,6 +253,8 @@
   A HREF=ftp://ftp.gns.com.br/pub/unix/apache/dist/;br/A -
   !--  --
   A HREF=ftp://ftp.abordo.com.br/pub/apache/;br/A -
  +!--  --
  +A HREF=ftp://ftp.ccai.com/apache/;ca/A -
   !--  --
   A HREF=ftp://ftp.ucr.ac.cr/pub/WWW/Unix/apache/dist/;cr/A -
   !--  --
  
  
  


cvs commit: apache-1.3/src/modules/proxy proxy_ftp.c

1998-05-21 Thread brian
brian   98/05/20 20:37:48

  Modified:src  CHANGES
   src/modules/proxy proxy_ftp.c
  Log:
  PR: 505
  
  Not a generic fix for RFC1123 and 959, but closer than what was there before.
  Still doesn't read directories from DJB's anonftpd right, but then again
  neither does Netscape.
  
  Revision  ChangesPath
  1.856 +4 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.855
  retrieving revision 1.856
  diff -u -r1.855 -r1.856
  --- CHANGES   1998/05/20 15:34:24 1.855
  +++ CHANGES   1998/05/21 03:37:22 1.856
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b7
   
  +  *) Fix discrepancy in proxy_ftp.c which was causing failures when 
  + trying to connect to certain ftpd's, such as anonftpd.  
  + [Rick Ohnemus [EMAIL PROTECTED]]
  +
 *) Make mod_rewrite use ap_open_piped_log() for RewriteLog directive's
logfile instead of fiddling around itself with child spawning stuff.
[Ralf S. Engelschall]
  
  
  
  1.58  +8 -3  apache-1.3/src/modules/proxy/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/proxy/proxy_ftp.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- proxy_ftp.c   1998/04/11 12:00:40 1.57
  +++ proxy_ftp.c   1998/05/21 03:37:47 1.58
  @@ -803,9 +803,14 @@
pstr = strtok(pasv,  );   /* separate result code */
if (pstr != NULL) {
presult = atoi(pstr);
  - pstr = strtok(NULL, ();   /* separate address  port params */
  - if (pstr != NULL)
  - pstr = strtok(NULL, ));
  + if (*(pstr + strlen(pstr) + 1) == '=')
  + pstr += strlen(pstr) + 2;
  + else
  + {
  + pstr = strtok(NULL, ();  /* separate address  port params */
  + if (pstr != NULL)
  + pstr = strtok(NULL, ));
  + }
}
else
presult = atoi(pasv);
  
  
  


cvs commit: apache-1.3/src/main http_protocol.c

1998-05-21 Thread brian
brian   98/05/20 21:11:28

  Modified:.STATUS
   src  CHANGES
   src/main http_protocol.c
  Log:
  Ed Korthof's fixes for 408 and 414 protocol issues.
   [EMAIL PROTECTED]
  
  Revision  ChangesPath
  1.404 +17 -4 apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.403
  retrieving revision 1.404
  diff -u -r1.403 -r1.404
  --- STATUS1998/05/20 01:58:25 1.403
  +++ STATUS1998/05/21 04:11:18 1.404
  @@ -37,10 +37,6 @@
   
   Available Patches:
   
  -* Ed Korthof's patch to fix protocol issues surrounding 400, 408, and
  -  414 responses.
  -  [EMAIL PROTECTED]
  -
   * Wilfredo Sanchez's port to Rhapsody 5.1 for 1.2.6 - forward port to
 1.3?
 [EMAIL PROTECTED]
  @@ -316,6 +312,9 @@
 execuables, usually after a very long pause.  Ought
 to stuff .conf in the registry mapping it to text.
   
  +* apparently either BrowserMatch or the nokeepalive variable
  +  cause instability - see PR#1729.
  +
   Delayed until after 1.3.0, unless someone happens to get to it:
   
   * Arnt Gulbrandsen [EMAIL PROTECTED] 03 Apr 1998 21:28:17 +0200
  @@ -371,4 +370,18 @@
 use the new child_info structure, is this still safe?  Needs to be 
 looked at.
   
  +* suexec doesn't understand argv parameters; e.g.
  +
  +!--#exec cmd=./ls -l --
  +
  +  fails even when ls is in the same directory because suexec is trying
  +  to stat a file called ls -l.  A patch for this is available at
  +
  +http://www.xnet.com/~emarshal/suexec.diff
   
  +  and it's not bad except that it doesn't handle programs with spaces in
  +  the filename (think win32, or samba-mounted filesystems).  There are
  +  several PR's to this and I don't see for security reasons why we can't
  +  accomodate it, though it does add complexity to suexec.c.
  +  PR #1120
  +  Brian: +1
  
  
  
  1.858 +3 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.857
  retrieving revision 1.858
  diff -u -r1.857 -r1.858
  --- CHANGES   1998/05/21 04:07:11 1.857
  +++ CHANGES   1998/05/21 04:11:23 1.858
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b7
   
  +  *) A fix for protocol issues surrounding 400, 408, and
  + 414 responses. [Ed Korthof]
  +
 *) Ignore MaxRequestsPerChild on WIN32. [Brian Behlendorf]
   
 *) Fix discrepancy in proxy_ftp.c which was causing failures when 
  
  
  
  1.214 +40 -5 apache-1.3/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/http_protocol.c,v
  retrieving revision 1.213
  retrieving revision 1.214
  diff -u -r1.213 -r1.214
  --- http_protocol.c   1998/05/07 01:21:22 1.213
  +++ http_protocol.c   1998/05/21 04:11:27 1.214
  @@ -661,7 +661,11 @@
   ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r-server,
   request failed for %s, reason: URI too long,
   ap_get_remote_host(r-connection, r-per_dir_config, 
REMOTE_NAME));
  -r-status = HTTP_REQUEST_URI_TOO_LARGE;
  + /* hack to deal with the HTTP_REQUEST_TIME_OUT setting up above: */
  + if (r-status == HTTP_REQUEST_TIME_OUT)
  +   r-status = HTTP_OK;
  + r-request_time = time(NULL);
  + ap_die (HTTP_REQUEST_URI_TOO_LARGE, r);
   return 0;
   }
   
  @@ -720,16 +724,33 @@
   while ((len = getline(field, MAX_STRING_LEN, c-client, 1))  0) {
   char *copy = ap_palloc(r-pool, len + 1);
   memcpy(copy, field, len + 1);
  + 
  + if (!(value = strchr(copy, ':'))) { /* Find the colon separator */
  +   /* if there's none, this request is screwed up.
  +* a hack to deal with how we set HTTP_REQUEST_TIME_OUT earlier.*/
  +   if (r-status == HTTP_REQUEST_TIME_OUT)
  + r-status = HTTP_OK;
  +   
  +   ap_die (HTTP_BAD_REQUEST, r);
  +   return;
  + }
   
  -if (!(value = strchr(copy, ':')))  /* Find the colon separator */
  -continue;   /* or should puke 400 here */
  -
   *value = '\0';
   ++value;
   while (isspace(*value))
   ++value;/* Skip to start of value   */
   
   ap_table_mergen(r-headers_in, copy, value);
  +
  + /* the header was too long; at the least we should skip extra data */
  + if (len = MAX_STRING_LEN - 1) { 
  +   char junk[MAX_STRING_LEN]; 
  +   while ((len = getline(junk, MAX_STRING_LEN, c-client, 1))
  +  = MAX_STRING_LEN - 1)   /* soak up the extra data

cvs commit: apache-1.3/conf srm.conf-dist srm.conf-dist-win

1998-05-21 Thread brian
brian   98/05/21 11:02:00

  Modified:conf srm.conf-dist srm.conf-dist-win
  Log:
  PR: 2211
  
  Enable Alias by default so that icons are viewable in default distribution.
  
  Revision  ChangesPath
  1.22  +1 -1  apache-1.3/conf/srm.conf-dist
  
  Index: srm.conf-dist
  ===
  RCS file: /export/home/cvs/apache-1.3/conf/srm.conf-dist,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- srm.conf-dist 1998/03/14 19:02:20 1.21
  +++ srm.conf-dist 1998/05/21 18:01:58 1.22
  @@ -135,7 +135,7 @@
   # require it to be present in the URL.  So /icons isn't aliased in this
   # example.
   
  -#Alias /icons/ @@ServerRoot@@/icons/
  +Alias /icons/ @@ServerRoot@@/icons/
   
   # ScriptAlias: This controls which directories contain server scripts.
   # Format: ScriptAlias fakename realname
  
  
  
  1.10  +1 -1  apache-1.3/conf/srm.conf-dist-win
  
  Index: srm.conf-dist-win
  ===
  RCS file: /export/home/cvs/apache-1.3/conf/srm.conf-dist-win,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- srm.conf-dist-win 1998/03/20 15:48:31 1.9
  +++ srm.conf-dist-win 1998/05/21 18:01:59 1.10
  @@ -143,7 +143,7 @@
   # require it to be present in the URL.  So /icons isn't aliased in this
   # example.
   
  -#Alias /icons/ /apache/icons/
  +Alias /icons/ /apache/icons/
   
   # ScriptAlias: This controls which directories contain server scripts.
   # Format: ScriptAlias fakename realname
  
  
  


cvs commit: apache-1.3/src/main util_script.c

1998-05-21 Thread brian
brian   98/05/21 11:04:16

  Modified:src/main util_script.c
  Log:
  Submitted by: Brian Havard [EMAIL PROTECTED]
  
  Brian Havard [EMAIL PROTECTED] writes:
  For reasons I've yet to determine the OS/2 exe is compiled with a switch
  that makes fopen() default to binary mode (-Zbin-files). This makes the !#
  parser in ap_call_exec() fail on scripts that use CR/LF line terminators.
  The following patch fixes that. Note that the code affected is inside an
  #ifdef __EMX__ so there's no chance of breaking other platforms.
  
  Revision  ChangesPath
  1.111 +1 -1  apache-1.3/src/main/util_script.c
  
  Index: util_script.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v
  retrieving revision 1.110
  retrieving revision 1.111
  diff -u -r1.110 -r1.111
  --- util_script.c 1998/05/16 16:34:48 1.110
  +++ util_script.c 1998/05/21 18:04:15 1.111
  @@ -641,7 +641,7 @@
int is_script;
char interpreter[2048]; /* hope this is large enough for the 
interpreter path */
FILE *program;
  - program = fopen(r-filename, r);
  + program = fopen(r-filename, rt);
if (!program) {
ap_log_error(APLOG_MARK, APLOG_ERR, r-server, fopen(%s) failed,
r-filename);
  
  
  


cvs commit: apache-1.3/conf httpd.conf-dist-win

1998-05-21 Thread brian
brian   98/05/21 11:50:59

  Modified:conf httpd.conf-dist-win
  Log:
  Reviewed by:  Paul Sutton, Martin Kraemer
  
  Move the _log to .log.
  
  Revision  ChangesPath
  1.13  +8 -8  apache-1.3/conf/httpd.conf-dist-win
  
  Index: httpd.conf-dist-win
  ===
  RCS file: /export/home/cvs/apache-1.3/conf/httpd.conf-dist-win,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- httpd.conf-dist-win   1998/03/29 19:11:57 1.12
  +++ httpd.conf-dist-win   1998/05/21 18:50:58 1.13
  @@ -71,9 +71,9 @@
   # ErrorLog: The location of the error log file. If this does not start
   # with /, ServerRoot is prepended to it.
   
  -ErrorLog logs/error_log
  +ErrorLog logs/error.log
   
  -# LogLevel: Control the number of messages logged to the error_log.
  +# LogLevel: Control the number of messages logged to the error.log.
   # Possible values include: debug, info, notice, warn, error, crit,
   # alert, emerg.
   
  @@ -90,18 +90,18 @@
   # The location of the access logfile (Common Logfile Format).
   # If this does not start with /, ServerRoot is prepended to it.
   
  -CustomLog logs/access_log common
  +CustomLog logs/access.log common
   
   # If you would like to have an agent and referer logfile uncomment the
   # following directives.
   
  -#CustomLog logs/referer_log referer
  -#CustomLog logs/agent_log agent
  +#CustomLog logs/referer.log referer
  +#CustomLog logs/agent.log agent
   
   # If you prefer a single logfile with access, agent and referer information
   # (Combined Logfile Format) you can use the following directive.
   
  -#CustomLog logs/access_log combined
  +#CustomLog logs/access.log combined
   
   # PidFile: The file the server should log its pid to
   PidFile logs/httpd.pid
  @@ -209,8 +209,8 @@
   #ServerAdmin [EMAIL PROTECTED]
   #DocumentRoot /www/docs/host.some_domain.com
   #ServerName host.some_domain.com
  -#ErrorLog logs/host.some_domain.com-error_log
  -#TransferLog logs/host.some_domain.com-access_log
  +#ErrorLog logs/host.some_domain.com-error.log
  +#TransferLog logs/host.some_domain.com-access.log
   #/VirtualHost
   
   
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_include.c mod_log_agent.c mod_log_referer.c

1998-05-20 Thread brian
brian   98/05/19 16:48:37

  Modified:src/modules/standard mod_include.c mod_log_agent.c
mod_log_referer.c
  Log:
  Added some error warnings back.
  
  Revision  ChangesPath
  1.90  +2 -0  apache-1.3/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_include.c,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- mod_include.c 1998/05/19 22:49:03 1.89
  +++ mod_include.c 1998/05/19 23:48:35 1.90
  @@ -818,6 +818,8 @@
   
   if (!ap_spawn_child_err_buff(r-pool, include_cmd_child, arg,
kill_after_timeout, NULL, script_in, NULL)) {
  +ap_log_error(APLOG_MARK, APLOG_ERR, r-server,
  +  couldn't spawn include command);
   return -1;
   }
   
  
  
  
  1.26  +2 -0  apache-1.3/src/modules/standard/mod_log_agent.c
  
  Index: mod_log_agent.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_agent.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_log_agent.c   1998/05/19 22:49:03 1.25
  +++ mod_log_agent.c   1998/05/19 23:48:36 1.26
  @@ -117,6 +117,8 @@
   
   pl = ap_open_piped_log(p, cls-fname + 1);
   if (pl == NULL) {
  + ap_log_error(APLOG_MARK, APLOG_ERR, s,
  +  couldn't spawn agent log pipe);
   exit(1);
   }
   cls-agent_fd = ap_piped_log_write_fd(pl);
  
  
  
  1.27  +2 -0  apache-1.3/src/modules/standard/mod_log_referer.c
  
  Index: mod_log_referer.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_referer.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- mod_log_referer.c 1998/05/19 22:49:03 1.26
  +++ mod_log_referer.c 1998/05/19 23:48:36 1.27
  @@ -132,6 +132,8 @@
   
pl = ap_open_piped_log(p, cls-fname + 1);
if (pl == NULL) {
  + ap_log_error(APLOG_MARK, APLOG_ERR, s,
  +  couldn't spawn referer log pipe);
   exit(1);
   }
   
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_log_referer.c

1998-05-20 Thread brian
brian   98/05/19 21:22:11

  Modified:src  CHANGES
   src/modules/standard mod_log_referer.c
  Log:
  PR: 1947
  
  Made RefererIgnore comparison case-insensitive
  
  Revision  ChangesPath
  1.854 +2 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.853
  retrieving revision 1.854
  diff -u -r1.853 -r1.854
  --- CHANGES   1998/05/19 22:48:57 1.853
  +++ CHANGES   1998/05/20 04:22:06 1.854
  @@ -1,5 +1,7 @@
   Changes with Apache 1.3b7
   
  +  *) Made RefererIgnore case-insensitive.
  +
 *) Mod_log_agent, mod_log_referer now use ap_open_piped_log for piped logs.
[Brian Behlendorf]
   
  
  
  
  1.28  +2 -1  apache-1.3/src/modules/standard/mod_log_referer.c
  
  Index: mod_log_referer.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_referer.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- mod_log_referer.c 1998/05/19 23:48:36 1.27
  +++ mod_log_referer.c 1998/05/20 04:22:11 1.28
  @@ -104,6 +104,7 @@
  referer_log_module);
   
   addme = ap_push_array(cls-referer_ignore_list);
  +ap_str_tolower(arg);
   *addme = arg;
   return NULL;
   }
  @@ -175,7 +176,7 @@
   referer = ap_table_get(orig-headers_in, Referer);
   if (referer != NULL) {
   
  -
  +ap_str_tolower(referer);
   /* The following is an upsetting mess of pointers, I'm sorry
  Anyone with the motiviation and/or the time should feel free
  to make this cleaner... */
  
  
  


cvs commit: apache-1.3/htdocs/manual install.html

1998-05-20 Thread brian
brian   98/05/20 03:19:19

  Modified:.INSTALL
   src  INSTALL
   htdocs/manual install.html
  Log:
  PR: 1808
  
  Add note about setting the proper system time.
  
  Revision  ChangesPath
  1.29  +9 -0  apache-1.3/INSTALL
  
  Index: INSTALL
  ===
  RCS file: /export/home/cvs/apache-1.3/INSTALL,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- INSTALL   1998/05/12 12:13:48 1.28
  +++ INSTALL   1998/05/20 10:19:11 1.29
  @@ -356,6 +356,15 @@
http://www.apache.org/docs/ for a complete reference of available
configuration directives.
   
  +  9. Set your system time properly!
  + --
  +
  + Proper operation of a public web server requires accurate time
  + keeping, since elements of the HTTP protocol are expressed as the time
  + of day.  So, it's time to investigate setting up NTP or some other
  + time synchronization system on your Unix box, or whatever the
  + equivalent on NT would be.
  +
 8. Contacts

   
  
  
  
  1.22  +8 -0  apache-1.3/src/INSTALL
  
  Index: INSTALL
  ===
  RCS file: /export/home/cvs/apache-1.3/src/INSTALL,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- INSTALL   1998/04/03 13:38:34 1.21
  +++ INSTALL   1998/05/20 10:19:16 1.22
  @@ -137,6 +137,14 @@
 specifically call them by other names, use the AccessConfig and
 ResourceConfig directives in httpd.conf.
   
  +  Set your system time properly!
  +
  +  Proper operation of a public web server requires accurate time
  +  keeping, since elements of the HTTP protocol are expressed as the time
  +  of day.  So, it's time to investigate setting up NTP or some other
  +  time synchronization system on your Unix box, or whatever the
  +  equivalent on NT would be.
  +
 Upgrading an Existing Apache Environment
 
   
  
  
  
  1.21  +8 -0  apache-1.3/htdocs/manual/install.html
  
  Index: install.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/install.html,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- install.html  1998/02/05 20:04:10 1.20
  +++ install.html  1998/05/20 10:19:18 1.21
  @@ -159,6 +159,14 @@
   on a directory-by-directory basis by using CODE.htaccess/CODE
   files in directories accessed by the server.
   
  +H3Set your system time properly!/H3
  +
  +Proper operation of a public web server requires accurate time
  +keeping, since elements of the HTTP protocol are expressed as the time
  +of day.  So, it's time to investigate setting up NTP or some other
  +time synchronization system on your Unix box, or whatever the
  +equivalent on NT would be.
  +
   H3Starting and Stopping the Server/H3
   
   To start the server, simply run CODEhttpd/CODE. This will look for
  
  
  


cvs commit: apache-1.3/htdocs/manual/misc FAQ.html

1998-05-20 Thread brian
brian   98/05/20 04:12:43

  Modified:htdocs/manual/misc FAQ.html
  Log:
  Added text about regualr expressions.
  
  Revision  ChangesPath
  1.115 +23 -1 apache-1.3/htdocs/manual/misc/FAQ.html
  
  Index: FAQ.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/misc/FAQ.html,v
  retrieving revision 1.114
  retrieving revision 1.115
  diff -u -r1.114 -r1.115
  --- FAQ.html  1998/05/05 05:09:31 1.114
  +++ FAQ.html  1998/05/20 11:12:42 1.115
  @@ -15,7 +15,7 @@
 !--#include virtual=header.html --
 H1 ALIGN=CENTERApache Server Frequently Asked Questions/H1
 P
  -  $Revision: 1.114 $ ($Date: 1998/05/05 05:09:31 $)
  +  $Revision: 1.115 $ ($Date: 1998/05/20 11:12:42 $)
 /P
 P
 The latest version of this FAQ is always available from the main
  @@ -283,6 +283,8 @@
  LIA HREF=#zoomWhat's the best hardware/operating system/... How do
   I get the most out of my Apache Web server?/A
  /LI
  +   LIA HREF=#regexWhat are regular expressions?/A
  +   /LI
 /OL
/LI
   /UL
  @@ -2277,6 +2279,26 @@
 /P
 HR
/LI
  + LIA NAME=regex
  +  STRONGWhat are regular expressions?/STRONG/A
  +   P
  +   Regular expressions are a way of describing a pattern - for example, all 
the words
  +   that begin with the letter A or every 10-digit phone number or even 
Every sentence
  +   with two commas in it, and no capital letter Q.  Regular expressions 
(aka regexps)
  +   are useful in Apache because they let you apply certain attributes 
against collections
  +   of files or resources in very flexible ways - for example, all .gif and 
.jpg files under
  +   any images directory could be written as /.*\/images\/.*[jpg|gif]/.
  +
  +   PThe best overview around is probably the one which comes with
  +   Perl.  We implement a simple subset of Perl's regexp support, but
  +   it's still a good way to learn what they mean.  You can start by
  +   going to the A
  +   
HREF=http://www.perl.com/CPAN-local/doc/manual/html/pod/perlre.html#Version_8_Regular_Expresions;CPAN
  +   page on regular expressions/A, and branching out from there.
  +
  +  HR
  +  /LI
  +
 !-- Don't forget to add HR tags at the end of each list item.. --
   
   /OL
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_log_config.c

1998-05-20 Thread brian
brian   98/05/20 05:15:08

  Modified:src/modules/standard mod_log_config.c
  Log:
  PR: 2111
  
  Update the comment.
  
  Revision  ChangesPath
  1.57  +6 -5  apache-1.3/src/modules/standard/mod_log_config.c
  
  Index: mod_log_config.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_config.c,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- mod_log_config.c  1998/05/05 04:47:58 1.56
  +++ mod_log_config.c  1998/05/20 12:15:07 1.57
  @@ -222,11 +222,12 @@
   } multi_log_state;
   
   /*
  - * config_log_state holds the status of a single log file. fname cannot
  - * be NULL. format might be NULL, in which case the default_format from
  - * the multi_log_state should be used, or if that is NULL as well, use
  - * the CLF. log_fd is -1 before the log file is opened and set to a valid
  - * fd after it is opened.
  + * config_log_state holds the status of a single log file. fname might
  + * be NULL, which means this module does no logging for this
  + * request. format might be NULL, in which case the default_format
  + * from the multi_log_state should be used, or if that is NULL as
  + * well, use the CLF. log_fd is -1 before the log file is opened and
  + * set to a valid fd after it is opened.
*/
   
   typedef struct {
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_cgi.c

1998-05-20 Thread brian
brian   98/05/20 05:18:06

  Modified:src/modules/standard mod_cgi.c
  Log:
  PR: 2119
  
  clean up an error message.
  
  Revision  ChangesPath
  1.79  +1 -1  apache-1.3/src/modules/standard/mod_cgi.c
  
  Index: mod_cgi.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_cgi.c,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- mod_cgi.c 1998/05/16 16:34:50 1.78
  +++ mod_cgi.c 1998/05/20 12:18:05 1.79
  @@ -170,7 +170,7 @@
   struct stat finfo;
   
   ap_log_error(APLOG_MARK, show_errno|APLOG_ERR, r-server, 
  - %s, reason: %s, error, r-filename);
  + %s: %s, error, r-filename);
   
   if (!conf-logname ||
((stat(ap_server_root_relative(r-pool, conf-logname), finfo) == 0)
  
  
  


cvs commit: apache-1.3/src/include buff.h

1998-05-19 Thread brian
brian   98/05/19 12:29:01

  Modified:src/include buff.h
  Log:
  ugly hack to allow it to compile under compilers which fail on
  zero-sized structs.
  
  Revision  ChangesPath
  1.43  +9 -0  apache-1.3/src/include/buff.h
  
  Index: buff.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/buff.h,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- buff.h1998/05/19 18:00:24 1.42
  +++ buff.h1998/05/19 19:29:00 1.43
  @@ -206,6 +206,15 @@
   HANDLE hPipeInputRead;
   HANDLE hPipeOutputWrite;
   HANDLE hPipeErrorWrite;
  +#else
  +/* 
  + * We need to put a dummy member in here to avoid compilation
  + * errors under certain Unix compilers, like SGI's and HPUX's,
  + * which fail to compile a zero-sized struct.  Of course
  + * it would be much nicer if there was actually a use for this
  + * structure under Unix.  Aah the joys of x-platform code.
  + */
  +int dummy;
   #endif
   };
   API_EXPORT(int) ap_spawn_child_err_buff(pool *, int (*)(void *, child_info 
*), void *,
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_include.c mod_log_agent.c mod_log_referer.c mod_mime_magic.c

1998-05-19 Thread brian
brian   98/05/19 15:49:05

  Modified:.STATUS
   src  CHANGES
   src/modules/standard mod_include.c mod_log_agent.c
mod_log_referer.c mod_mime_magic.c
  Log:
  Two things: replaced the use of spawn_child with ap_spawn_child_err_buff
  in various modules (to be safe under Win32) and modified the agent and
  referer logging modules to use ap_open_piped_logs rather than try and do
  it on their own.
  
  I'm not sure that uncompress_child in mod_mime_magic is correct; could
  someone look at it?
  
  Also, Ralf, mod_rewrite.c needs similar treatment.  I was off to do it but
  it looked more complex than the other changes, and I'm sure once you see
  the changes made here you can understand which mod_rewrite changes to make.
  
  Revision  ChangesPath
  1.402 +9 -10 apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.401
  retrieving revision 1.402
  diff -u -r1.401 -r1.402
  --- STATUS1998/05/16 16:35:33 1.401
  +++ STATUS1998/05/19 22:48:52 1.402
  @@ -17,14 +17,11 @@
for buffer overflow, someone should rewrite or verify
they're safe
   
  - * SSI: mod_include has had cmd disabled pending rewrite to use
  - new Win32 spawning.
  +* CGI: chdir() needs to be reinstated for CGI.
   
  - * CGI: chdir() needs to be reinstated for CGI.
  +* Child process: eliminate spawn_child() and spawn_child_err() which
  +  are unsafe in mod_rewrite.c
   
  - * Child process: eliminate spawn_child() and spawn_child_err() which
  - are unsafe.
  -
   Documentation that needs writing:
   
   * Documentation for:
  @@ -218,8 +215,7 @@
really bad
   
   * chdir() for CGI scripts and mod_include #exec needs to be 
  -  re-implemented.  This requires either serializing chdir/spawn 
  -  or using a native Win32 CreateProcess(?) call.
  +  re-implemented now that CreateProcess is being used.
   
   * process/thread model
- need dynamic thread creation/destruction, similar to 
  @@ -247,8 +243,6 @@
   * we don't mmap on NT.  Use TransmitFile?
   
   * CGIs
  -- hangs on multiple CGI execution?  PR#1607,1129
  - Marc can't repeat...
- docs on how they work w/scripts
- use registry to find interpreter?
- WTF is the buffering coming from?
  @@ -369,4 +363,9 @@
   5) would be nice if the proxy used Via and Max-Forwards, even as 
HTTP/1.0
   
   * #ifdef __EMX__ -- #ifdef OS2.
  +
  +* use of spawnvp in uncompress_child in mod_mime_magic - doesn't
  +  use the new child_info structure, is this still safe?  Needs to be 
  +  looked at.
  +
   
  
  
  
  1.853 +9 -2  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.852
  retrieving revision 1.853
  diff -u -r1.852 -r1.853
  --- CHANGES   1998/05/18 21:56:06 1.852
  +++ CHANGES   1998/05/19 22:48:57 1.853
  @@ -1,5 +1,12 @@
   Changes with Apache 1.3b7
   
  +  *) Mod_log_agent, mod_log_referer now use ap_open_piped_log for piped logs.
  + [Brian Behlendorf]
  +
  +  *) Replace use of spawn_child with ap_spawn_child_err_buff, to make 
everything
  + safe under Win32.  In: mod_include.c, mod_mime_magic.c
  + [Brian Behlendorf]
  +
 *) Improve RFC1413 support. [Bob Beck [EMAIL PROTECTED]]
   
 *) Fix support script `dbmmanage': It was unable to handle some sort
  @@ -11,8 +18,8 @@
   
 *) WIN32: CGIs could cause a hang (because of a deadlock in the standard C
library), so CGI handling has been changed to use Win32 native handles
  -  instead of C file descriptors.
  -  [Ben Laurie and Bill Stoddard [EMAIL PROTECTED]] PR#1129, 1607
  + instead of C file descriptors.
  + [Ben Laurie and Bill Stoddard [EMAIL PROTECTED]] PR#1129, 1607
   
 *) The proxy cache would store an incorrect content-length in the cached
file copy after a cache update. That resulted in repeated fetching
  
  
  
  1.89  +6 -13 apache-1.3/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_include.c,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- mod_include.c 1998/05/19 19:19:01 1.88
  +++ mod_include.c 1998/05/19 22:49:03 1.89
  @@ -786,7 +786,7 @@
   #endif
   ap_cleanup_for_exec();
   /* set shellcmd flag to pass arg to SHELL_PATH */
  -child_pid = ap_call_exec(r, NULL, s, ap_create_environment(r-pool, env),
  +child_pid = ap_call_exec(r, pinfo, s, ap_create_environment(r-pool, 
env

cvs commit: apache-1.2/src CHANGES rfc1413.c

1998-05-18 Thread brian
brian   98/05/18 14:49:28

  Modified:src  CHANGES rfc1413.c
  Log:
  See Message-ID: [EMAIL PROTECTED]
  
  Revision  ChangesPath
  1.309 +2 -0  apache-1.2/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v
  retrieving revision 1.308
  retrieving revision 1.309
  diff -u -r1.308 -r1.309
  --- CHANGES   1998/05/11 19:56:04 1.308
  +++ CHANGES   1998/05/18 21:49:26 1.309
  @@ -1,5 +1,7 @@
   Changes with Apache 1.2.7
   
  +  *) Improve RFC1413 support. [Bob Beck [EMAIL PROTECTED]]
  +
 *) Support for NCR MP/RAS 3.0 [John Withers [EMAIL PROTECTED]]
   
 *) Correct a protocol issue - always send the Accept-ranges: bytes
  
  
  
  1.13  +31 -17apache-1.2/src/rfc1413.c
  
  Index: rfc1413.c
  ===
  RCS file: /export/home/cvs/apache-1.2/src/rfc1413.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- rfc1413.c 1998/04/13 11:45:48 1.12
  +++ rfc1413.c 1998/05/18 21:49:27 1.13
  @@ -108,7 +108,8 @@
   
   static int
   get_rfc1413(int sock, const struct sockaddr_in *our_sin,
  -   const struct sockaddr_in *rmt_sin, char user[256], server_rec *srv)
  + const struct sockaddr_in *rmt_sin, char user[RFC1413_USERLEN+1], 
  + server_rec *srv)
   {
   struct sockaddr_in rmt_query_sin, our_query_sin;
   unsigned int rmt_port, our_port;
  @@ -148,29 +149,42 @@
   /* send the data */
   ap_snprintf(buffer, sizeof(buffer), %u,%u\r\n, 
ntohs(rmt_sin-sin_port),
ntohs(our_sin-sin_port));
  -do i = write(sock, buffer, strlen(buffer));
  -while (i == -1  errno == EINTR);
  -if (i == -1)
  -{
  - log_unixerr(write, NULL, rfc1413: error sending request, srv);
  - return -1;
  +
  +/* send query to server. Handle short write. */
  +i = 0;
  +while(i  strlen(buffer)) {
  +int j;
  +j = write(sock, buffer+i, (strlen(buffer+i)));
  +if (j  0  errno != EINTR) {
  + log_unixerr(write, NULL, rfc1413: error sending request, srv);
  + return -1;
  + }
  + else if (j  0) {
  + i+=j; 
  + }
   }
   
   /*
  - * Read response from server. We assume that all the data
  - * comes in a single packet.
  + * Read response from server. - the response should be newline 
  + * terminated according to rfc - make sure it doesn't stomp it's
  + * way out of the buffer.
*/
   
  -do i = read(sock, buffer, RFC1413_MAXDATA);
  -while (i == -1  errno == EINTR);
  -if (i == -1)
  -{
  - log_unixerr(read, NULL, rfc1413: error reading response, srv);
  - return -1;
  +i = 0;
  +memset(buffer, 0, sizeof(buffer));
  +while((cp = strchr(buffer, '\n')) == NULL  i  sizeof(buffer) - 1) {
  +int j;
  + j = read(sock, buffer+i, (sizeof(buffer) - 1) - i);
  + if (j  0  errno != EINTR) {
  + log_unixerr(read, NULL, rfc1413: error reading response, srv);
  + return -1;
  + }
  + else if (j  0) {
  + i+=j; 
  + }
   }
   
  -buffer[i] = '\0';
  -/* RFC1413_USERLEN = 512 */
  +/* RFC1413_USERLEN = 512 */
   if (sscanf(buffer, %u , %u : USERID :%*[^:]:%512s, rmt_port, 
our_port,
   user) != 3 || ntohs(rmt_sin-sin_port) != rmt_port
|| ntohs(our_sin-sin_port) != our_port) return -1;
  
  
  


cvs commit: apache-1.3/src/main rfc1413.c

1998-05-18 Thread brian
brian   98/05/18 14:56:12

  Modified:src  CHANGES
   src/main rfc1413.c
  Log:
  Improve RFC1413 support.
  See Message-ID: [EMAIL PROTECTED]
  
  Revision  ChangesPath
  1.852 +2 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.851
  retrieving revision 1.852
  diff -u -r1.851 -r1.852
  --- CHANGES   1998/05/18 11:24:19 1.851
  +++ CHANGES   1998/05/18 21:56:06 1.852
  @@ -1,5 +1,7 @@
   Changes with Apache 1.3b7
   
  +  *) Improve RFC1413 support. [Bob Beck [EMAIL PROTECTED]]
  +
 *) Fix support script `dbmmanage': It was unable to handle some sort
of passwords, especially passwords with 0 chars.
[Ralf S. Engelschall] PR#2242
  
  
  
  1.24  +32 -18apache-1.3/src/main/rfc1413.c
  
  Index: rfc1413.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/rfc1413.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- rfc1413.c 1998/04/11 12:00:31 1.23
  +++ rfc1413.c 1998/05/18 21:56:11 1.24
  @@ -103,7 +103,8 @@
   /* bind_connect - bind both ends of a socket */
   /* Ambarish fix this. Very broken */
   static int get_rfc1413(int sock, const struct sockaddr_in *our_sin,
  -  const struct sockaddr_in *rmt_sin, char user[256], server_rec *srv)
  +const struct sockaddr_in *rmt_sin, 
  +char user[RFC1413_USERLEN+1], server_rec *srv)
   {
   struct sockaddr_in rmt_query_sin, our_query_sin;
   unsigned int rmt_port, our_port;
  @@ -144,30 +145,43 @@
   /* send the data */
   buflen = ap_snprintf(buffer, sizeof(buffer), %u,%u\r\n, 
ntohs(rmt_sin-sin_port),
ntohs(our_sin-sin_port));
  -do
  - i = write(sock, buffer, buflen);
  -while (i == -1  errno == EINTR);
  -if (i == -1) {
  - ap_log_error(APLOG_MARK, APLOG_CRIT, srv,
  - write: rfc1413: error sending request);
  - return -1;
  +
  +/* send query to server. Handle short write. */
  +i = 0;
  +while(i  strlen(buffer)) {
  +int j;
  + j = write(sock, buffer+i, (strlen(buffer+i)));
  + if (j  0  errno != EINTR) {
  +   ap_log_error(APLOG_MARK, APLOG_CRIT, srv,
  +write: rfc1413: error sending request);
  +   return -1;
  + }
  + else if (j  0) {
  + i+=j; 
  + }
   }
   
   /*
  - * Read response from server. We assume that all the data
  - * comes in a single packet.
  + * Read response from server. - the response should be newline 
  + * terminated according to rfc - make sure it doesn't stomp it's
  + * way out of the buffer.
*/
   
  -do
  - i = read(sock, buffer, RFC1413_MAXDATA);
  -while (i == -1  errno == EINTR);
  -if (i == -1) {
  - ap_log_error(APLOG_MARK, APLOG_CRIT, srv,
  - read: rfc1413: error reading response);
  - return -1;
  +i = 0;
  +memset(buffer, 0, sizeof(buffer));
  +while((cp = strchr(buffer, '\n')) == NULL  i  sizeof(buffer) - 1) {
  +int j;
  + j = read(sock, buffer+i, (sizeof(buffer) - 1) - i);
  + if (j  0  errno != EINTR) {
  +ap_log_error(APLOG_MARK, APLOG_CRIT, srv,
  + read: rfc1413: error reading response);
  +return -1;
  + }
  + else if (j  0) {
  + i+=j; 
  + }
   }
   
  -buffer[i] = '\0';
   /* RFC1413_USERLEN = 512 */
   if (sscanf(buffer, %u , %u : USERID :%*[^:]:%512s, rmt_port, 
our_port,
   user) != 3 || ntohs(rmt_sin-sin_port) != rmt_port
  
  
  


cvs commit: apache-1.3/htdocs/manual/mod core.html

1998-05-18 Thread brian
brian   98/05/18 15:01:09

  Modified:htdocs/manual/mod core.html
  Log:
  Fix broken link, add note about maxclients.
  
  Revision  ChangesPath
  1.117 +3 -2  apache-1.3/htdocs/manual/mod/core.html
  
  Index: core.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/core.html,v
  retrieving revision 1.116
  retrieving revision 1.117
  diff -u -r1.116 -r1.117
  --- core.html 1998/05/11 20:08:04 1.116
  +++ core.html 1998/05/18 22:01:08 1.117
  @@ -1303,7 +1303,7 @@
   STRONGSee Also:/STRONG
   A HREF=../bind.htmlSetting which addresses and ports Apache uses/ABR
   STRONGSee Also:/STRONG
  -A HREF=../misc/known_bugs.html#listenbugKnown Bugs/A/P
  +A HREF=http//www.apache.org/info/known_bugs.html#listenbugKnown 
Bugs/A/P
   HR
   
   H2A NAME=listenbacklogListenBacklog directive/A/H2
  @@ -1590,7 +1590,8 @@
   
   The MaxClients directive sets the limit on the number of simultaneous
   requests that can be supported; not more than this number of child server
  -processes will be created.PHR
  +processes will be created.  To configure more than 256 clients, you must
  +edit the HARD_SERVER_LIMIT entry in httpd.h and recompile.PHR
   
   H2A name=maxkeepaliverequestsMaxKeepAliveRequests directive/A/H2
   A
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-12 Thread brian
brian   98/05/11 16:45:13

  Modified:.STATUS
  Log:
  Moved two issues to non-showstopper status based on new-httpd discussions.
  
  Revision  ChangesPath
  1.396 +12 -10apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.395
  retrieving revision 1.396
  diff -u -r1.395 -r1.396
  --- STATUS1998/05/11 20:08:02 1.395
  +++ STATUS1998/05/11 23:45:11 1.396
  @@ -11,18 +11,8 @@
   
   FINAL RELEASE SHOWSTOPPERS:
   
  -* Someone other than Dean has to do a security/correctness review on
  -  psprintf(), bprintf(), and ap_snprintf().  In particular these routines
  -  do lots of fun pointer manipulations and such and possibly have 
overflow
  -  errors.  The respective flush_funcs also need to be exercised.
  -   o Jim's looked over the ap_snprintf() stuff (the changes that Dean
  - did to make thread-safe) and they look fine.
  -
   WIN32 1.3 FINAL RELEASE SHOWSTOPPERS:
   
  -* SECURITY: check if the magic con/aux/nul/etc names do anything
  - really bad
  -
   * SECURITY: numerous uses of strcpy and strcat have potential
for buffer overflow, someone should rewrite or verify
they're safe
  @@ -126,6 +116,15 @@
   
   Open issues:
   
  +* Someone other than Dean has to do a security/correctness review on
  +  psprintf(), bprintf(), and ap_snprintf().  In particular these routines
  +  do lots of fun pointer manipulations and such and possibly have 
overflow
  +  errors.  The respective flush_funcs also need to be exercised.
  +   o Jim's looked over the ap_snprintf() stuff (the changes that Dean
  + did to make thread-safe) and they look fine.
  +   o Laura La Gassa's looked over ap_vformatter  other related code
  +   o Could still use 1 or 2 more sets of eyeballs.
  +
   * Paul would like to see a 'gdbm' option because he uses
 it a lot.
   
  @@ -188,6 +187,9 @@
Ken: What's W95-specific about it?
   
Help:
  +
  +* SECURITY: check if the magic con/aux/nul/etc names do anything
  + really bad
   
   * chdir() for CGI scripts and mod_include #exec needs to be 
 re-implemented.  This requires either serializing chdir/spawn 
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-12 Thread brian
brian   98/05/11 19:00:25

  Modified:.STATUS
  Log:
  
  
  Revision  ChangesPath
  1.397 +1 -1  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.396
  retrieving revision 1.397
  diff -u -r1.396 -r1.397
  --- STATUS1998/05/11 23:45:11 1.396
  +++ STATUS1998/05/12 02:00:24 1.397
  @@ -5,7 +5,7 @@
   1.3.0: Shoot for May 19, 1998 Release!
  Brian to be RM, Jim will do announcements
   
  -1.3b7: 1.3.0 release candidate for May 11th
  +1.3b7: 1.3.0 release candidate for May 13th
   
   2.0  : In pre-alpha development, see apache-2.0 repository
   
  
  
  


cvs commit: apache-1.3/htdocs/manual sharedobjects.html

1998-05-12 Thread brian
brian   98/05/11 21:00:47

  Added:   htdocs/manual sharedobjects.html
  Log:
  I took Ralf's README.DSO, HTMLized it, and put it here, a more appropriate
  place than in the root-level of the distribution.  Now we can link to it, too.
  
  Also, Ralf, I removed the section on execution order differences between
  static and dynamically linked modules, since you committed a patch which
  makes this behavios consistant with all-staticly-linked.
  
  Revision  ChangesPath
  1.1  apache-1.3/htdocs/manual/sharedobjects.html
  
  Index: sharedobjects.html
  ===
  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN
  HTMLHEAD
  TITLEApache 1.3 Dynamic Shared Object (DSO) support/TITLE
  /HEAD
  
  !-- Background white, links blue (unvisited), navy (visited), red (active) 
--
  BODY
   BGCOLOR=#FF
   TEXT=#00
   LINK=#FF
   VLINK=#80
   ALINK=#FF
  
  !--#include virtual=header.html --
  
  H1Apache 1.3 Dynamic Shared Object (DSO) support/H1
  
  PHRP
  
  addressOriginally written by Ralf S. Engelschall, April 1998/address
  
  H3Background/H3
  
  POn modern Unix derivatives there exists a nifty mechanism usually
   called dynamic linking/loading of Dynamic Shared Objects (DSO) which
   provides a way to build a piece of program code in a special format
   for loading it at run-time into the address space of an executable
   program.
  
  PThis loading can usually be done in two ways: Automatically by a
   system program called CODEld.so/CODE when an executable program
   is started or manually from within the executing program via a
   programmatic system interface to the Unix loader through the system
   calls CODEdlopen()/dlsym()/CODE.
   
  PIn the first way the DSO's are usually called shared libraries or
   DSO libraries and named CODElibfoo.so/CODE or
   CODElibfoo.so.1.2/CODE. They reside in a system directory
   (usually CODE/usr/lib/CODE) and the link to the executable
   program is established at link-time by specifying CODE-lfoo/CODE
   to the linker command. This hardcodes library references into the
   executable program file so that at start-time the Unix loader is able
   to locate CODElibfoo.so/CODE in CODE/usr/lib/CODE or in paths
   configured via the environment variable
   CODELD_LIBRARY_PATH/CODE. It then resolves any (yet unresolved)
   symbols in the executable program which are available in the DSO.
   
  PSymbols in the executable program are usually not referenced by the
   DSO (because it's a reuseable library of general code) and hence no
   further resolving has to be done. The executable program has no need
   to do anything on its own to use the symbols from the DSO because the
   complete resolving is done by the Unix loader. (In fact, the code to
   invoke CODEld.so/CODE is part of the run-time startup code which
   is linked into every executable program which has been bound
   non-static). The advantage of dynamic loading of common library code
   is obvious: the library code needs to be stored only once, in a
   system library like CODElibc.so/CODE, saving disk space for every
   program.
  
  PIn the second way the DSO's are usually called shared objects or
   DSO files and can be named with an arbitrary extension (although
   the canonical name is CODEfoo.so/CODE). These files usually stay
   inside a program-specific directory and there is no automatically
   established link to the executable program where they are
   used. Instead the executable program manually loads the DSO at
   run-time into its address space via CODEdlopen()/CODE. At this
   time no resolving of symbols from the DSO for the executable program
   is done. But instead the Unix loader automatically resolves any (yet
   unresolved) symbols in the DSO from the set of symbols exported by
   the executable program and its already loaded DSO libraries
   (especially all symbols from the ubiquitous CODElibc.so/CODE).
   This way the DSO gets knowledge of the executable program's symbol
   set as if it had been statically linked with it in the first place.
   
  PFinally, to take advantage of the DSO's API the executable program
   has to resolve particular symbols from the DSO via
   CODEdlsym()/CODE for later use inside dispatch tables etc. In
   other words: The executable program has to manually resolve every
   symbol it needs to be able to use it.  The advantage of such a
   mechanism is that optional program parts need not be loaded (and thus
   do not spend memory) until they are needed by the program in
   question. When required, these program parts can be loaded
   dynamically to extend the base program's functionality.
  
  PAlthough this DSO mechanism sounds straightforward there is at least one
   difficult step here: The resolving of symbols from the executable program for
   the DSO when using a DSO to extend a program (the second way). Why? Because
   `reverse resolving' DSO

cvs commit: apache-1.3/src Configuration.tmpl README.DSO

1998-05-12 Thread brian
brian   98/05/11 21:03:40

  Modified:src  Configuration.tmpl
  Removed: src  README.DSO
  Log:
  Removed README.DSO from this location - don't worry, it's in the manual now.
  
  Revision  ChangesPath
  1.103 +3 -2  apache-1.3/src/Configuration.tmpl
  
  Index: Configuration.tmpl
  ===
  RCS file: /export/home/cvs/apache-1.3/src/Configuration.tmpl,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- Configuration.tmpl1998/05/04 14:44:36 1.102
  +++ Configuration.tmpl1998/05/12 04:03:39 1.103
  @@ -66,8 +66,9 @@
   # The Configure script currently has only limited built-in
   # knowledge on how to compile these DSO files because this is
   # heavily platform-dependent. The current state of supported and
  -# explicitly unsupported platforms can be found in the README.DSO
  -# file under Supported Platforms.
  +# explicitly unsupported platforms can be found in the file 
  +# htdocs/manual/sharedobjects.html, under 
  +# Supported Platforms.
   #
   # For other platforms where you want to use the DSO mechanism you
   # first have to make sure it supports the pragmatic dlopen()
  
  
  


cvs commit: apache-1.3/htdocs/manual new_features_1_3.html

1998-05-12 Thread brian
brian   98/05/11 22:08:42

  Modified:htdocs/manual new_features_1_3.html
  Log:
  Major rewrite.  Reorganized layout into sections.  Cleaned up, standardized
  HTML to make it more readable for those who edit.
  
  Revision  ChangesPath
  1.59  +486 -563  apache-1.3/htdocs/manual/new_features_1_3.html
  
  Index: new_features_1_3.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/new_features_1_3.html,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- new_features_1_3.html 1998/05/11 20:08:03 1.58
  +++ new_features_1_3.html 1998/05/12 05:08:42 1.59
  @@ -4,17 +4,11 @@
   /HEAD
   
   !-- Background white, links blue (unvisited), navy (visited), red (active) 
--
  -BODY
  - BGCOLOR=#FF
  - TEXT=#00
  - LINK=#FF
  - VLINK=#80
  - ALINK=#FF
  -
  +BODY BGCOLOR=#FF TEXT=#00 LINK=#FF 
  +  VLINK=#80 ALINK=#FF
   !--#include virtual=header.html --
  -H1 ALIGN=CENTEROverview of new features/H1
  +H1 ALIGN=CENTEROverview of New Features in Apache 1.3/H1
   
  -H2New Features with Apache 1.3/H2
   PNew features with this release, as extensions of the Apache
   functionality. Because the core code has changed so
   significantly, there are certain liberties that earlier versions of
  @@ -22,394 +16,350 @@
   pickier about - please check the
   A HREF=misc/compat_notes.htmlcompatibility notes/A if you have any
   problems./P
  +
   PIf you're upgrading from Apache 1.2, you may wish to read
  -the A HREF=upgrading_to_1_3.htmlupgrade notes/A./P
  -HR
  +the A HREF=upgrading_to_1_3.htmlupgrade notes/A.
   
  -PIn addition to a number of bug fixes and internal performance
  -enhancements, A HREF=http://www.apache.org/dist/;Apache
  -1.3/A has the following specific new user features:/P
  +PEnhancements: A HREF=#coreCore/A |
  +A HREF=#perfPerformance/A |
  +A HREF=#configConfiguration/A |
  +A HREF=#modModules/A |
  +A HREF=#apiAPI/A |
  +A HREF=#miscMisc/A
  +
  +PHR
  +
  +A NAME=core
  +H2Core Enhancements:/H2
  +/A
  +
  +DL
  +DTBA HREF=sharedobjects.htmlDynamic Shared Object (DSO) 
support/A/B
  +DDApache modules may now be loaded at runtime; this means that
  +modules can be loaded into the server process space only when
  +necessary, thus overall memory usage by Apache will be
  +significantly reduced.  DSO works on Linux, FreeBSD, Solaris,
  +SunOS, IRIX, OSF1, UnixWare, and AIX.
  +
  +DTBA HREF=windows.htmlSupport for Windows NT/95/A/B
  +DDApache now experimentally supports the Windows NT and Windows 95
  +operating systems.
  +
  +DTBA HREF=sourcereorg.htmlRe-organised 
  +Sources/A/B
  +DDThe source files for Apache have been re-organised. The main
  +difference for Apache users is that the Module lines in
  +CODEConfiguration/CODE have been replaced with AddModule
  +with a slightly different syntax.  For module authors there are
  +some changes designed to make it easier for users to add their
  +module.
  +
  +DTBReliable Piped Logs/B
  +DDOn almost all Unix architectures Apache now implements reliable
  +piped logs in A
  +HREF=mod/mod_log_config.htmlmod_log_config/A.  Where reliable
  +means that if the logging child dies for whatever reason, Apache
  +will recover and respawn it without having to restart the entire
  +server.  Furthermore if the logging child becomes stuck and
  +isn't reading its pipe frequently enough Apache will also restart
  +it.  This opens up more opportunities for log rotation, hit
  +filtering, real-time splitting of multiple vhosts into separate
  +logs, and asynchronous DNS resolving on the fly.
  +
  +/DL
  +
  +PHR
  +
  +A NAME=performance
  +H2Performance Improvements/H2
  +/A
   
   UL
  - LIA
  -  HREF=mod/mod_speling.html
  - STRONGOptional laquo;Spelling Correctionraquo; module added to 
distribution/STRONG/A
  -  BR
  -  This optional module corrects frequently occurring spelling errors in
  -  document names requested from the server. This includes the correction
  -  of miscapitalized requests (as was available in a separately available
  -  EMmod_speling/EM module as of Apache 1.1 already) but extends
  -  spelling correction to single inserted, omitted, transposed or
  -  mistyped characters. This catches the majority of mistyped requests.
  -  To make use of this module, it must be enabled in the server's
  -  CODEConfiguration/CODE file, and the
  -  A HREF=mod/mod_speling.html#checkspellingSAMPCheckSpelling/SAMP/A
  -  directive must be set to CODEon/CODE.
  - /LI
  - LIA
  -  HREF=mod/mod_setenvif.html
  - STRONGEnhanced Conditional Setting of Environment 
Variables/STRONG/A
  -  BR
  -  The
  -  A
  -   HREF=mod/mod_setenvif.html#BrowserMatch
  -  SAMPBrowserMatch*/SAMP/A
  -  directives of Apache 1.2 have been joined by some more powerful
  -  brethren:
  -  A
  -   HREF

cvs commit: apache-1.3/htdocs/manual/misc index.html known_bugs.html

1998-05-12 Thread brian
brian   98/05/11 22:14:21

  Modified:htdocs/manual/misc index.html
  Removed: htdocs/manual/misc known_bugs.html
  Log:
  Removed because an unmaintained list of known bugs is worse than useless.
  We have all this in the bug database, it's maintained there, and providing
  historical known_bug issues is counterproductive.
  
  Revision  ChangesPath
  1.11  +0 -6  apache-1.3/htdocs/manual/misc/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/misc/index.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- index.html1998/05/04 08:42:32 1.10
  +++ index.html1998/05/12 05:14:18 1.11
  @@ -63,12 +63,6 @@
DDA tab-separate table of HTTP features implemented and tested in 
Apache.
/DD 
  DTA
  -HREF=known_bugs.html
  -   Known Bugs/A
  -   /DT
  -   DDA list of known bugs in each of the Apache releases.
  -   /DD
  -   DTA
   HREF=known_client_problems.html
  Known Client Problems/A
  /DT
  
  
  


cvs commit: apache-1.3/htdocs/manual/misc compat_notes.html

1998-05-12 Thread brian
brian   98/05/11 22:23:22

  Modified:htdocs/manual/misc compat_notes.html
  Log:
  Updated, cleaned up, and tossed out comments dealing with decades-old
  Apache versions.
  
  Revision  ChangesPath
  1.21  +87 -127   apache-1.3/htdocs/manual/misc/compat_notes.html
  
  Index: compat_notes.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/misc/compat_notes.html,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- compat_notes.html 1998/03/13 19:19:57 1.20
  +++ compat_notes.html 1998/05/12 05:23:22 1.21
  @@ -15,138 +15,98 @@
   
   HR
   
  -While Apache 0.8.x and beyond are for the most part a drop-in
  -replacement for NCSA's httpd and earlier versions of Apache, there are
  -a couple gotcha's to watch out for.  These are mostly due to the fact
  -that the parser for config and access control files was rewritten from
  -scratch, so certain liberties the earlier servers took may not be
  -available here.  These are all easily fixable.  If you know of other
  -non-fatal problems that belong here, A
  +While Apache is for the most part a drop-in replacement for NCSA's
  +httpd, there are a couple gotcha's to watch out for.  These are mostly
  +due to the fact that the parser for config and access control files
  +was rewritten from scratch, so certain liberties the earlier servers
  +took may not be available here.  These are all easily fixable.  If you
  +know of other non-fatal problems that belong here, A
   HREF=http://www.apache.org/bug_report.html;let us know./A
   
  -PPlease also check the A HREF=known_bugs.htmlknown bugs/A
  -page, and the A HREF=known_client_problems.htmlknown client
  -problems/A page./P
  +PPlease also check the A HREF=known_client_problems.htmlknown
  +client problems/A page.
   
  -
  -
   OL
  -
   LIThe basic mod_auth CODEAuthGroupFile/CODE-specified group file
  -format allows commas between user names - Apache does not.BR
  -EM- added 12/1/96/EM
  -/LI
  -
  -  LIPIf you follow the NCSA guidelines for setting up access restrictions
  -  based on client domain, you may well have added entries for,
  -  CODEAuthType, AuthName, AuthUserFile/CODE or 
CODEAuthGroupFile/CODE.
  -  STRONGNone/STRONG of these are needed (or appropriate) for restricting 
access
  -  based on client domain.
  -
  -  PWhen Apache sees CODEAuthType/CODE it (reasonably) assumes you
  -  are using some authorization type based on username and password.
  -
  -  PPlease remove CODEAuthType/CODE, it's unnecessary even for NCSA.
  -
  -  P
  -
  -  LICODEAuthUserFile/CODE requires a full pathname. In earlier
  -  versions of NCSA httpd and Apache, you could use a filename
  -  relative to the .htaccess file. This could be a major security hole,
  -  as it made it trivially easy to make a .htpass file in the a
  -  directory easily accessible by the world. We recommend you store
  -  your passwords outside your document tree.
  -
  -  P
  -
  -  LICODEOldScriptAlias/CODE is no longer supported.
  -
  -  P
  -
  -  LICODEexec cgi=/CODE produces reasonable STRONGmalformed 
header/STRONG
  -  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 CODEexec cmd=/CODE 
instead.
  -  PWe might add CODEvirtual/CODE support to CODEexec cmd/CODE to
  -  make up for this difference.
  -
  -  P
  -
  -  LIlt;Limitgt; silliness - in the old Apache 0.6.5, a
  -   directive of lt;Limit GETgt; would also restrict POST methods - Apache 
0.8.8's new
  -   core is correct in not presuming a limit on a GET is the same limit on a 
POST,
  -   so if you are relying on that behavior you need to change your access 
configurations
  -   to reflect that.
  -
  -  P
  -
  -  LIIcons for FancyIndexing broken - well, no, they're not broken,
  -  we've just upgraded the
  -  icons from flat .xbm files to pretty and much smaller .gif files, courtesy 
of
  -A HREF=mailto:[EMAIL PROTECTED]Kevin Hughes/A at
  -A HREF=http://www.eit.com/;EIT/A.
  -  If you are using the same srm.conf from an old distribution, make sure
  -  you add the new
  -  A
  -   HREF=../mod/mod_autoindex.html#addicon
  -  AddIcon/A,
  -  A
  -   HREF=../mod/mod_autoindex.html#addiconbytype
  -  AddIconByType/A,
  -  and
  -  A
  -   HREF=../mod/mod_autoindex.html#defaulticon
  -  DefaultIcon/A
  -  directives.
  -
  -  P
  -
  -  LIUnder IRIX, the Group directive in httpd.conf needs to be a
  -  valid group name
  -  (EMi.e./EM, 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
  -
  -LICODE.asis/CODE files: Apache 0.6.5 did not require a Status header;
  -it added one automatically if the .asis file contained a Location header.
  -0.8.14 requires a Status header. P
  -
  -  P

cvs commit: apache-1.3/htdocs/manual index.html

1998-05-12 Thread brian
brian   98/05/11 22:30:37

  Modified:htdocs/manual index.html
  Log:
  Slight cleanup.  Removed links to certain things that are more appropriately
  linked elsewhere.
  
  Revision  ChangesPath
  1.23  +17 -29apache-1.3/htdocs/manual/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/index.html,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- index.html1998/04/18 07:13:40 1.22
  +++ index.html1998/05/12 05:30:36 1.23
  @@ -21,48 +21,36 @@
   UL
   LIA HREF=new_features_1_3.htmlNew features in Apache 1.3/A
   LIA HREF=upgrading_to_1_3.htmlUpgrading to Apache 1.3/A
  -LIA HREF=new_features_1_2.htmlNew features in Apache 1.2/A
  -LIA HREF=new_features_1_1.htmlNew features in Apache 1.1/A
  -LIA HREF=new_features_1_0.htmlNew features in Apache 1.0/A
  -/UL
  -UL
  -LIA HREF=misc/known_bugs.htmlKnown Bugs/A
  -LIA HREF=misc/compat_notes.htmlCompatibility Notes with NCSA httpd/A
   LIA HREF=LICENSEApache License/A
   /UL
   
   H3A name=refApache Reference Manual/A/H3
  -UL
  - LIA
  -  HREF=http://www.apache.org/manual-index.cgi/docs;
  - STRONGSearch/STRONG/A
  - the master manual pages for key words
  - /LI
  -/UL
  +
   UL
  -LIA HREF=install.htmlCompiling and Installing Apache/A
  -LIA HREF=invoking.htmlStarting Apache/A
  -LIA HREF=stopping.htmlStopping or Restarting Apache/A
  -LIA HREF=mod/directives.htmlApache run-time configuration 
directives/A
  -LIA HREF=mod/index.htmlApache modules/A
  -LIA HREF=vhosts/index.htmlApache Virtual Host documentation/A
  -LIA HREF=handler.htmlApache's handler use/A
  +LIA HREF=http://www.apache.org/manual-index.cgi/docs;
  +STRONGSearch/STRONG/A for key words
  +LIA HREF=install.htmlCompiling and Installing/A
  +LIA HREF=invoking.htmlStarting/A
  +LIA HREF=stopping.htmlStopping or Restarting/A
  +LIA HREF=mod/directives.htmlRun-time configuration directives/A
  +LIA HREF=mod/index.htmlModules/A
  +LIA HREF=vhosts/index.htmlVirtual Hosts/A
  +LIA HREF=sharedobjects.htmlShared Object Support.
  +LIA HREF=handler.htmlHandlers/A
   LIA HREF=env.htmlSpecial purpose environment variables/A
  -LIA HREF=misc/API.htmlHighly generalized API to server 
functionality/A
  +LIA HREF=misc/API.htmlThe Apache API/A
   LIA HREF=suexec.htmlUsing SetUserID Execution for CGI/A
   /UL
   
   H3A name=othOther Notes/A/H3
   UL
  -LIA HREF=misc/FAQ.htmlFrequently Asked Questions list/A
  -LIA HREF=misc/howto.htmlHow do I? documentation/A
  -LIA HREF=misc/security_tips.htmlSecurity tips/A
  +LIA HREF=misc/FAQ.htmlFrequently Asked Questions/A
   LIA HREF=misc/perf.htmlPerformance hints/A for heavily loaded web 
servers.
  +LIA HREF=misc/security_tips.htmlSecurity tips/A
  +LIA HREF=misc/compat_notes.htmlCompatibility Notes with NCSA httpd/A
  +LIA HREF=misc/howto.htmlHow do I? documentation/A
   LIA HREF=misc/fin_wait_2.htmlDiscussion of the FIN_WAIT_2 problem/A
  -LIA
  - HREF=http://www.apache.org/info/jdk-102.html;
  -Java's 1.0.2 virtual machine and HTTP/1.1/A
  -lia href=misc/known_client_problems.htmlKnown problems with various 
clients/a
  +LIA HREF=misc/known_client_problems.htmlKnown problems with various 
clients/A
   /UL
   
   !--#include virtual=footer.html --
  
  
  


doc changes

1998-05-12 Thread Brian Behlendorf

I realize I may be taking some liberties with the doc changes I'm making.
In my opinion, documentation is even more difficult to design by committee
than code is; at least with code there's one right way to do something, or
at least always a way better than an alternative.  With documentation, the
most important thing is consistancy and clarity in prose, and those are two
things which reasonable people may disagree on.

Brian


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
pure chewing satisfaction  [EMAIL PROTECTED]
[EMAIL PROTECTED]


cvs commit: apache-1.2/src CHANGES Configure conf.h

1998-05-11 Thread brian
brian   98/05/11 12:56:06

  Modified:src  CHANGES Configure conf.h
  Log:
  Support for NCR MP/RAS 3.0 [John Withers [EMAIL PROTECTED]]
  
  Revision  ChangesPath
  1.308 +2 -0  apache-1.2/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v
  retrieving revision 1.307
  retrieving revision 1.308
  diff -u -r1.307 -r1.308
  --- CHANGES   1998/05/08 06:29:32 1.307
  +++ CHANGES   1998/05/11 19:56:04 1.308
  @@ -1,5 +1,7 @@
   Changes with Apache 1.2.7
   
  +  *) Support for NCR MP/RAS 3.0 [John Withers [EMAIL PROTECTED]]
  +
 *) Correct a protocol issue - always send the Accept-ranges: bytes
header in the default_handler. [Brian Behlendorf]
   
  
  
  
  1.100 +6 -0  apache-1.2/src/Configure
  
  Index: Configure
  ===
  RCS file: /export/home/cvs/apache-1.2/src/Configure,v
  retrieving revision 1.99
  retrieving revision 1.100
  diff -u -r1.99 -r1.100
  --- Configure 1998/03/20 18:25:28 1.99
  +++ Configure 1998/05/11 19:56:04 1.100
  @@ -482,6 +482,12 @@
OS='Paragon OSF/1'
CFLAGS=$CFLAGS -DPARAGON
;;
  +4850-*.*)
  +OS='NCR MP/RAS'
  +CFLAGS=$CFLAGS -DSVR4 -DMPRAS
  +DEF_WANTHSREGEX=yes
  +LIBS=$LIBS -lsocket -lnsl -lc -L/usr/ucblib -lucb
  +;;
   *) # default: Catch systems we don't know about
echo Sorry, but we cannot grok \$PLAT\
echo uname -m
  
  
  
  1.104 +2 -0  apache-1.2/src/conf.h
  
  Index: conf.h
  ===
  RCS file: /export/home/cvs/apache-1.2/src/conf.h,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- conf.h1998/04/13 11:45:37 1.103
  +++ conf.h1998/05/11 19:56:05 1.104
  @@ -336,8 +336,10 @@
   #define NO_KILLPG
   #undef  NO_SETSID
   #undef NEED_STRDUP
  +#ifndef MPRAS
   #define NEED_STRCASECMP
   #define NEED_STRNCASECMP
  +#endif
   #define bzero(a,b) memset(a,0,b)
   #define JMP_BUF sigjmp_buf
   /* A lot of SVR4 systems need this */
  
  
  


cvs commit: apache-1.3/src/include ap.h

1998-05-11 Thread brian
brian   98/05/11 13:42:35

  Modified:src/include ap.h
  Log:
  Some API prefix stuff that was missed in the great renaming.
  
  Revision  ChangesPath
  1.16  +3 -3  apache-1.3/src/include/ap.h
  
  Index: ap.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/ap.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ap.h  1998/05/11 17:50:09 1.15
  +++ ap.h  1998/05/11 20:42:35 1.16
  @@ -85,7 +85,7 @@
   #endif
   #endif /* WIN32 */
   
  -/* apapi_vformatter() is a generic printf-style formatting routine
  +/* ap_vformatter() is a generic printf-style formatting routine
* with some extensions.  The extensions are:
*
* %pA   takes a struct in_addr *, and prints it as a.b.c.d
  @@ -98,8 +98,8 @@
* work as expected at all, but that seems to be a fair trade-off
* for the increased robustness of having printf-warnings work.
*
  - * Additionally, apapi_vformatter allows for arbitrary output methods
  - * using the apapi_vformatter_buff and flush_func.
  + * Additionally, ap_vformatter allows for arbitrary output methods
  + * using the ap_vformatter_buff and flush_func.
*
* The ap_vformatter_buff has two elements curpos and endpos.
* curpos is where ap_vformatter will write the next byte of output.
  
  
  


cvs commit: apache-1.3/src/main util_script.c

1998-05-10 Thread brian
brian   98/05/09 19:20:13

  Modified:src/main util_script.c
  Log:
  There's no fork on WIN32, so this is modifying the error log of the main
  server.  Ick.  Dean noticed this.
  
  Revision  ChangesPath
  1.109 +4 -1  apache-1.3/src/main/util_script.c
  
  Index: util_script.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- util_script.c 1998/05/03 22:53:42 1.108
  +++ util_script.c 1998/05/10 02:20:12 1.109
  @@ -597,11 +597,14 @@
   
   #endif
   
  +#ifndef WIN32
   /* the fd on r-server-error_log is closed, but we need somewhere to
* put the error messages from the log_* functions. So, we use stderr,
  - * since that is better than allowing errors to go unnoticed.
  + * since that is better than allowing errors to go unnoticed.  Don't do
  + * this on Win32, though, since we haven't fork()'d.
*/
   r-server-error_log = stderr;
  +#endif
   
   #ifdef RLIMIT_CPU
   if (conf-limit_cpu != NULL)
  
  
  


cvs commit: apache-1.3/src/main http_main.c

1998-05-09 Thread brian
brian   98/05/08 16:08:53

  Modified:src/main http_main.c
  Log:
  Uh, this is still needed to prevent compilation problems...
  
  Revision  ChangesPath
  1.338 +2 -0  apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.337
  retrieving revision 1.338
  diff -u -r1.337 -r1.338
  --- http_main.c   1998/05/08 22:06:08 1.337
  +++ http_main.c   1998/05/08 23:08:51 1.338
  @@ -3013,7 +3013,9 @@
   static void show_compile_settings(void)
   {
   printf(Server base version: %s\n, SERVER_BASEVERSION);
  +#ifdef SERVER_SUBVERSION
   printf(Server sub-version:  %s\n, SERVER_SUBVERSION);
  +#endif
   printf(Server Full version: %s\n, ap_get_server_version());
   printf(Server built:%s\n, ap_get_server_built());
   printf(Server's Module Magic Number: %u\n, MODULE_MAGIC_NUMBER);
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-09 Thread brian
brian   98/05/08 17:17:39

  Modified:.STATUS
  Log:
  garbage in, garbage out :)  removed the whole server string thing, added
  two items from the list so we don't forget.
  
  Revision  ChangesPath
  1.390 +7 -14 apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.389
  retrieving revision 1.390
  diff -u -r1.389 -r1.390
  --- STATUS1998/05/08 21:53:25 1.389
  +++ STATUS1998/05/09 00:17:38 1.390
  @@ -134,20 +134,6 @@
   
   Open issues:
   
  -* What do to about SERVER_SUBVERSION now?
  -  STATUS:
  -   o Scrap it now that modules can use ap_add_version_component
  - Jim +1 (make sure this is clear :) ), Brian +1, Ken +1
  -  Dean: -1, and I am also vetoing the new AddVersionComponent
  - directive.  My reason is: if a module is significant then
  - it will ap_add_version_component(); if a patch is
  - significant then it can modify SERVER_SUBVERSION.  There are
  - no other *code* changes possible that the admin should be
  - noting.  If folks really want to play the customized server
  - version game they can recompile, or build a module to do it.
  - If we put it in the default server we'll end up seeing lots of
  - funny (read: annoying) false things start to appear.
  -
   * Paul would like to see a 'gdbm' option because he uses
 it a lot.
   
  @@ -304,6 +290,11 @@
   * signal type handling
- how to rotate logs from command line?
   
  +* Currently if you double click on the conf files or the
  +  log files you get a useless dialog offering the set of all
  +  execuables, usually after a very long pause.  Ought
  +  to stuff .conf in the registry mapping it to text.
  +
   Delayed until after 1.3.0, unless someone happens to get to it:
   
   * Arnt Gulbrandsen [EMAIL PROTECTED] 03 Apr 1998 21:28:17 +0200
  @@ -352,4 +343,6 @@
   3) byte range error handling
   4) update the Accept-Encoding parser to allow q-values
   5) would be nice if the proxy used Via and Max-Forwards, even as 
HTTP/1.0
  +
  +* #ifdef __EMX__ -- #ifdef OS2.
   
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-09 Thread brian
brian   98/05/08 19:28:32

  Modified:src/modules/standard mod_cgi.c mod_include.c
   src  CHANGES
   .STATUS
  Log:
  This is a fix to make this not a show-stopper anymore.  Making a promise and
  breaking it every now and then is worse than not making that promise.
  
  Revision  ChangesPath
  1.77  +2 -0  apache-1.3/src/modules/standard/mod_cgi.c
  
  Index: mod_cgi.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_cgi.c,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- mod_cgi.c 1998/04/22 15:06:45 1.76
  +++ mod_cgi.c 1998/05/09 02:28:22 1.77
  @@ -315,7 +315,9 @@
fprintf(dbg, '%s'\n, env[i]);
   #endif
   
  +#ifndef WIN32
   ap_chdir_file(r-filename);
  +#endif
   if (!cld-debug)
ap_error_log2stderr(r-server);
   
  
  
  
  1.85  +10 -1 apache-1.3/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_include.c,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- mod_include.c 1998/05/02 19:06:05 1.84
  +++ mod_include.c 1998/05/09 02:28:22 1.85
  @@ -607,7 +607,9 @@
   }
   
   ap_destroy_sub_req(rr);
  +#ifndef WIN32
   ap_chdir_file(r-filename);
  +#endif
   
   return 0;
   }
  @@ -699,8 +701,9 @@
   if (!error_fmt  ap_run_sub_req(rr)) {
   error_fmt = unable to include \%s\ in parsed file %s;
   }
  +#ifndef WIN32
   ap_chdir_file(r-filename);
  -
  +#endif
   if (error_fmt) {
   ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR,
r-server, error_fmt, tag_val, r-filename);
  @@ -845,7 +848,9 @@
   ap_rputs(error, r);
   }
   /* just in case some stooge changed directories */
  +#ifndef WIN32
   ap_chdir_file(r-filename);
  +#endif
   }
   else if (!strcmp(tag, cgi)) {
   parse_string(r, tag_val, parsed_string, sizeof(parsed_string), 
0);
  @@ -855,7 +860,9 @@
   ap_rputs(error, r);
   }
   /* grumble groan */
  +#ifndef WIN32
   ap_chdir_file(r-filename);
  +#endif
   }
   else if (!strcmp(tag, done)) {
   return 0;
  @@ -2080,7 +2087,9 @@
   printing = conditional_status = 1;
   if_nesting = 0;
   
  +#ifndef WIN32
   ap_chdir_file(r-filename);
  +#endif
   if (r-args) {  /* add QUERY stuff to env cause it ain't yet 
*/
   char *arg_copy = ap_pstrdup(r-pool, r-args);
   
  
  
  
  1.836 +9 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.835
  retrieving revision 1.836
  diff -u -r1.835 -r1.836
  --- CHANGES   1998/05/08 23:41:32 1.835
  +++ CHANGES   1998/05/09 02:28:28 1.836
  @@ -1,5 +1,14 @@
   Changes with Apache 1.3b7
   
  +  *) chdir() doesn't make sense in a multithreaded environment like WIN32.
  + Before, Win32 CGI's could have had sporadic failures if a chdir call
  + from one thread was made between another chdir call and a spawn in
  + another thread.  So, for now don't chdir for CGI scripts in WIN32.
  + The current CGI spec is unclear as to whether it's necessary.  Long-
  + term fix is to either serialize the chdir/spawn combo or use WIN32
  + native calls to spawn a process.  This temp fix was necessary to remove 
  + this as a showstopper for 1.3's release. [Brian Behlendorf]
  +
 *) Cleanup the suEXEC support in APACI and make it more safe:
1. Add big fat hint in INSTALL about risks and to read the
   htdocs/manual/suexec.html document before using the suexec-related
  
  
  
  1.392 +4 -2  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.391
  retrieving revision 1.392
  diff -u -r1.391 -r1.392
  --- STATUS1998/05/09 01:23:12 1.391
  +++ STATUS1998/05/09 02:28:31 1.392
  @@ -32,8 +32,6 @@
for buffer overflow, someone should rewrite or verify
they're safe
   
  -* bad use of chdir in some places; it isn't thread-specific
  -
   Documentation that needs writing:
   
   * Documentation for:
  @@ -195,6 +193,10 @@
Ken: What's W95-specific about it?
   
Help:
  +
  +* chdir() for CGI scripts and mod_include #exec needs to be 
  +  re-implemented.  This requires either serializing chdir/spawn 
  +  or using a native Win32 CreateProcess(?) call

cvs commit: apache-1.2/src CHANGES http_core.c http_protocol.c

1998-05-08 Thread brian
brian   98/05/07 23:29:35

  Modified:src  CHANGES http_core.c http_protocol.c
  Log:
  PR: 1474
  
*) Correct a protocol issue - always send the Accept-ranges: bytes
   header in the default_handler. [Brian Behlendorf]
  
  Revision  ChangesPath
  1.307 +3 -0  apache-1.2/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v
  retrieving revision 1.306
  retrieving revision 1.307
  diff -u -r1.306 -r1.307
  --- CHANGES   1998/05/06 02:32:19 1.306
  +++ CHANGES   1998/05/08 06:29:32 1.307
  @@ -1,5 +1,8 @@
   Changes with Apache 1.2.7
   
  +  *) Correct a protocol issue - always send the Accept-ranges: bytes
  + header in the default_handler. [Brian Behlendorf]
  +
 *) Fix handling of %Z in timefmt strings for those platforms with no time
zone information in their tm struct. [Paul Eggert [EMAIL PROTECTED]]
PR #754
  
  
  
  1.85  +1 -0  apache-1.2/src/http_core.c
  
  Index: http_core.c
  ===
  RCS file: /export/home/cvs/apache-1.2/src/http_core.c,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- http_core.c   1998/04/13 11:45:38 1.84
  +++ http_core.c   1998/05/08 06:29:33 1.85
  @@ -1374,6 +1374,7 @@
 table_set (r-headers_out, Content-MD5, md5digest(r-pool, f));
   }
   
  +table_set (r-headers_out, Accept-Ranges, bytes);
   rangestatus = set_byterange(r);
   send_http_header (r);
   
  
  
  
  1.136 +0 -1  apache-1.2/src/http_protocol.c
  
  Index: http_protocol.c
  ===
  RCS file: /export/home/cvs/apache-1.2/src/http_protocol.c,v
  retrieving revision 1.135
  retrieving revision 1.136
  diff -u -r1.135 -r1.136
  --- http_protocol.c   1998/04/13 11:45:40 1.135
  +++ http_protocol.c   1998/05/08 06:29:33 1.136
  @@ -135,7 +135,6 @@
 range = table_get(r-headers_in, Request-Range);
   
   if (!range || strncasecmp(range, bytes=, 6)) {
  - table_set (r-headers_out, Accept-Ranges, bytes);
return 0;
   }
   
  
  
  


cvs commit: apache-1.3/src/main buff.c

1998-05-08 Thread brian
brian   98/05/08 15:54:52

  Modified:src/main buff.c
  Log:
  PR: 2207
  
  Marc's suggestion that we move this to debug, which I agree with.
  
  Revision  ChangesPath
  1.75  +1 -1  apache-1.3/src/main/buff.c
  
  Index: buff.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/buff.c,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- buff.c1998/04/27 06:59:35 1.74
  +++ buff.c1998/05/08 22:54:52 1.75
  @@ -168,7 +168,7 @@
if (rv == SOCKET_ERROR) {
err = WSAGetLastError();
if(err == WSAEWOULDBLOCK) {
  - ap_log_error(APLOG_MARK,APLOG_WARNING,NULL,
  + ap_log_error(APLOG_MARK,APLOG_DEBUG,NULL,
select claimed we could write, but in fact we 
couldn't. This is a bug in Windows.);
retry=1;
Sleep(100);
  
  
  


cvs commit: apache-1.3/src/main http_protocol.c http_core.c

1998-05-07 Thread brian
brian   98/05/06 18:21:23

  Modified:src  CHANGES
   src/main http_protocol.c http_core.c
  Log:
  PR: 1464
  
  Emit the Accept-Ranges header for every response from the default handler,
  instead of just for those that don't emit a Range request.
  
  Revision  ChangesPath
  1.829 +3 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.828
  retrieving revision 1.829
  diff -u -r1.828 -r1.829
  --- CHANGES   1998/05/06 21:16:03 1.828
  +++ CHANGES   1998/05/07 01:21:15 1.829
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b7
 
  +  *) Emit the Accept-Range header for the default handler.
  + [Brian Behlendorf] PR#1464
  +
 *) Add a note to httpd.conf-dist that apache will on some systems fail
to start when the Group # is set to a negative or large positive value.
[Martin Kraemer]
  
  
  
  1.213 +0 -1  apache-1.3/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/http_protocol.c,v
  retrieving revision 1.212
  retrieving revision 1.213
  diff -u -r1.212 -r1.213
  --- http_protocol.c   1998/04/27 06:59:35 1.212
  +++ http_protocol.c   1998/05/07 01:21:22 1.213
  @@ -141,7 +141,6 @@
   range = ap_table_get(r-headers_in, Request-Range);
   
   if (!range || strncasecmp(range, bytes=, 6)) {
  -ap_table_setn(r-headers_out, Accept-Ranges, bytes);
   return 0;
   }
   
  
  
  
  1.193 +1 -0  apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.192
  retrieving revision 1.193
  diff -u -r1.192 -r1.193
  --- http_core.c   1998/05/05 04:48:05 1.192
  +++ http_core.c   1998/05/07 01:21:22 1.193
  @@ -2120,6 +2120,7 @@
   ap_update_mtime (r, r-finfo.st_mtime);
   ap_set_last_modified(r);
   ap_set_etag(r);
  +ap_table_setn(r-headers_out, Accept-Ranges, bytes);
   if (((errstatus = ap_meets_conditions(r)) != OK)
|| (errstatus = ap_set_content_length (r, r-finfo.st_size))) {
return errstatus;
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-06 Thread brian
brian   98/05/05 16:25:28

  Modified:.STATUS
  Log:
  Removed one show-stopper (unless someone wants to step up and point out
  something we missed on this issue), related two others to non-showstopper
  status
  
  Revision  ChangesPath
  1.375 +7 -11 apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.374
  retrieving revision 1.375
  diff -u -r1.374 -r1.375
  --- STATUS1998/05/05 11:26:05 1.374
  +++ STATUS1998/05/05 23:25:27 1.375
  @@ -16,12 +16,8 @@
 order is correct even when the DSO mechanism is used. This is mainly
 achieved by fixing the AddModule command.
 See: http://www.engelschall.com/sw/apache/ [dsoexecorder]
  -  Status: Ralf +1
  +  Status: Ralf +1, Brian +1.
   
  -* proxy security fixes from 1.2.5 need to be brought forward.
  -  Note: off-by-one error in ap_proxy_date_canon() in
  -proxy_util.c was fixed.  any others???
  -
   * Someone other than Dean has to do a security/correctness review on
 psprintf(), bprintf(), and ap_snprintf().  In particular these routines
 do lots of fun pointer manipulations and such and possibly have 
overflow
  @@ -44,9 +40,6 @@
   Dean: ap_pcfg_openfile() should use pfopen() instead of
 fopen(). Jim agrees.
   
  -* get_path_info bug; ap_get_remote_host should be ap_vformatter instead.
  -  See: [EMAIL PROTECTED]
  -
   WIN32 1.3 FINAL RELEASE SHOWSTOPPERS:
   
   * SECURITY: check if the magic con/aux/nul/etc names do anything
  @@ -56,9 +49,6 @@
for buffer overflow, someone should rewrite or verify
they're safe
   
  -* signal type handling
  - - how to rotate logs from command line?
  -
   * bad use of chdir in some places; it isn't thread-specific
   
   Documentation that needs writing:
  @@ -111,6 +101,9 @@
   
   Needs patch:
   
  +* get_path_info bug; ap_get_remote_host should be ap_vformatter instead.
  +  See: [EMAIL PROTECTED]
  +
   * uri issues
- RFC2068 requires a server to recognize its own IP addr(s) in dot
notation, we do this fine if the user follows the dns-caveats
  @@ -343,6 +336,9 @@
   * mod_include -- exec cgi, exec cmd, etc. don't work right.
 Looks like a code path that isn't run anywhere else that has
 something not quite right...  A PR or two on it.
  +
  +* signal type handling
  + - how to rotate logs from command line?
   
   Delayed until after 1.3.0, unless someone happens to get to it:
   
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-06 Thread brian
brian   98/05/05 17:23:57

  Modified:.STATUS
  Log:
  Sounds like we all agree it'd be more trouble than it's worth at this point.
  
  Revision  ChangesPath
  1.376 +0 -5  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.375
  retrieving revision 1.376
  diff -u -r1.375 -r1.376
  --- STATUS1998/05/05 23:25:27 1.375
  +++ STATUS1998/05/06 00:23:56 1.376
  @@ -227,11 +227,6 @@
   
   Win32 specific issues:
   
  - Open issues:
  -
  -* Should ApacheCore.dll be merged back into the main server
  -  image?  May make debugging easier..
  -
In progress:
   
   * Ben's ASP work... All agree it sounds cool.
  
  
  


cvs commit: apache-1.2/src CHANGES util.c

1998-05-06 Thread brian
brian   98/05/05 19:32:20

  Modified:src  CHANGES util.c
  Log:
  PR: 754
  Submitted by: Paul Eggert [EMAIL PROTECTED]
  
*) Fix handling of %Z in timefmt strings for those platforms with no time
   zone information in their tm struct.
  
  Revision  ChangesPath
  1.306 +4 -0  apache-1.2/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v
  retrieving revision 1.305
  retrieving revision 1.306
  diff -u -r1.305 -r1.306
  --- CHANGES   1998/04/01 11:48:11 1.305
  +++ CHANGES   1998/05/06 02:32:19 1.306
  @@ -1,5 +1,9 @@
   Changes with Apache 1.2.7
   
  +  *) Fix handling of %Z in timefmt strings for those platforms with no time
  + zone information in their tm struct. [Paul Eggert [EMAIL PROTECTED]]
  + PR #754
  +
 *) Fix a typo in url parsing code that could cause it to read past
end of buffer.  [Patrick Bihan-Faou [EMAIL PROTECTED]] PR#2019
   
  
  
  
  1.57  +34 -0 apache-1.2/src/util.c
  
  Index: util.c
  ===
  RCS file: /export/home/cvs/apache-1.2/src/util.c,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- util.c1998/04/13 11:45:49 1.56
  +++ util.c1998/05/06 02:32:19 1.57
  @@ -82,9 +82,43 @@
   
   char *ht_time(pool *p, time_t t, const char *fmt, int gmt) {
   char ts[MAX_STRING_LEN];
  +char tf[MAX_STRING_LEN];
   struct tm *tms;
   
   tms = (gmt ? gmtime(t) : localtime(t));
  +if(gmt) {
  +  /* Convert %Z to GMT and %z to +;
  +   * on hosts that do not have a time zone string in struct tm,
  +   * strftime must assume its argument is local time.
  +   */
  +  const char *f;
  +  char *p;
  +  for(p = tf, f = fmt; p  tf + sizeof tf - 5  (*p = *f); f++, p++) {
  +if(*f == '%')
  +  switch(f[1])
  +{
  +case '%':
  +  *++p = *++f;
  +  break;
  +case 'Z':
  +  *p++ = 'G';
  +  *p++ = 'M';
  +  *p = 'T';
  +  f++;
  +  break;
  +case 'z': /* common extension */
  +  *p++ = '+';
  +  *p++ = '0';
  +  *p++ = '0';
  +  *p++ = '0';
  +  *p = '0';
  +  f++;
  +  break;
  +}
  +  }
  +  *p = '\0';
  +  fmt = tf;
  +}
   
   /* check return code? */
   strftime(ts,MAX_STRING_LEN,fmt,tms);
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_status.c

1998-05-06 Thread brian
brian   98/05/05 20:24:21

  Modified:src  CHANGES
   src/modules/standard mod_status.c
  Log:
  PR: 1551
  
  Standardized the time format printed out by mod_status, which now means it
  includes the time zone.
  
  Revision  ChangesPath
  1.822 +3 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.821
  retrieving revision 1.822
  diff -u -r1.821 -r1.822
  --- CHANGES   1998/05/06 02:29:46 1.821
  +++ CHANGES   1998/05/06 03:24:14 1.822
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b7
   
  +  *) Standardized the time format in mod_status to match that of other 
  + places in the code (e.g. DATE_GMT)).
  +
 *) Fix handling of %Z in timefmt strings for those platforms with no time
zone information in their tm struct. [Paul Eggert [EMAIL PROTECTED]]
PR #754
  
  
  
  1.87  +8 -3  apache-1.3/src/modules/standard/mod_status.c
  
  Index: mod_status.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_status.c,v
  retrieving revision 1.86
  retrieving revision 1.87
  diff -u -r1.86 -r1.87
  --- mod_status.c  1998/05/05 04:47:59 1.86
  +++ mod_status.c  1998/05/06 03:24:20 1.87
  @@ -136,6 +136,10 @@
   #define  MBYTE   1048576L
   #define  GBYTE   1073741824L
   
  +#ifndef DEFAULT_TIME_FORMAT 
  +#define DEFAULT_TIME_FORMAT %A, %d-%b-%Y %H:%M:%S %Z
  +#endif
  +
   module MODULE_VAR_EXPORT status_module;
   
   #ifdef STATUS
  @@ -327,10 +331,11 @@
ap_rvputs(r, Server Version: , ap_get_server_version(), br\n,
   NULL);
ap_rvputs(r, Server Built: , ap_get_server_built(), br\nhr\n,
  -NULL);
  - ap_rvputs(r, Current Time: , asctime(localtime(nowtime)), br\n, 
NULL);
  - ap_rvputs(r, Restart Time: , asctime(localtime(ap_restart_time)), 
br\n,
   NULL);
  + ap_rvputs(r, Current Time: , ap_ht_time(r-pool, nowtime, 
DEFAULT_TIME_FORMAT, 0), 
  +   br\n, NULL);
  + ap_rvputs(r, Restart Time: , ap_ht_time(r-pool, ap_restart_time, 
DEFAULT_TIME_FORMAT, 0), 
  +br\n, NULL);
ap_rputs(Server uptime: , r);
show_time(r, up_time);
ap_rputs(br\n, r);
  
  
  


cvs commit: apache-1.3/htdocs/manual/mod core.html

1998-05-06 Thread brian
brian   98/05/05 21:10:54

  Modified:htdocs/manual/mod core.html
  Log:
  PR: 2100
  Submitted by: Dale Couch [EMAIL PROTECTED]
  
  slight clarification for NT users.
  
  Revision  ChangesPath
  1.111 +3 -6  apache-1.3/htdocs/manual/mod/core.html
  
  Index: core.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/core.html,v
  retrieving revision 1.110
  retrieving revision 1.111
  diff -u -r1.110 -r1.111
  --- core.html 1998/05/04 16:46:38 1.110
  +++ core.html 1998/05/06 04:10:53 1.111
  @@ -1,4 +1,4 @@
  -!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN
  +!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN
   HTML
   HEAD
   TITLEApache Core Features/TITLE
  @@ -2554,11 +2554,8 @@
  sure and set this number high enough for your site if you get a lot of
  hits.
   
  -P
  -
  -This directive has no effect on Unix systems.
  -
  -PSee also A HREF=#startserversStartServers/A and A
  +PThis directive has no effect on Unix systems.  Unix users should look
  +   at A HREF=#startserversStartServers/A and A
  HREF=#maxrequestsperchildMaxRequestsPerChild/A./P
   
   HR
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-06 Thread brian
brian   98/05/05 21:46:28

  Modified:.STATUS
  Log:
  I have examined the mail archives extensively on this issue.  It's apparent
  that apache'c current behavior regarding range-requests for ranges that go
  beyond the length of the current object is correct.  See
  
  [EMAIL PROTECTED]
  
  where Roy says:
  
The current behavior is correct.  A range which extends beyond the actual
length of the entity is possible in cases where a device is attempting
to limit the response size (think PDA) even when it doesn't yet know
the actual length.  At least, that was the goal.
  
  So, you all can now sleep at night.
  
  Revision  ChangesPath
  1.377 +0 -10 apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.376
  retrieving revision 1.377
  diff -u -r1.376 -r1.377
  --- STATUS1998/05/06 00:23:56 1.376
  +++ STATUS1998/05/06 04:46:27 1.377
  @@ -167,16 +167,6 @@
 appropriate environment. Marc and Alexei don't see any
 big deal. Martin says that not every env has a -u flag.
   
  -* 206 vs. 200 issue on Content-Length
  - See [EMAIL PROTECTED]
  - Roy says sending 200 is correct, but Alexei disagrees.
  - Marc sides with Alexei.  We were talking about two different PRs.
  -Apache should be sending 200 *and* Accept-Ranges.
  -
  - Dean says: I'm still really confused as to what the problem is or
  - isn't.  If one of you three could work up a patch that would be
  - most excellent.
  -
   * Marc's socket options like source routing (kill them?)
Marc, Martin say Yes
   
  
  
  


cvs commit: apache-site/uri-res - New directory

1998-05-05 Thread brian
brian   98/05/04 20:15:04

  apache-site/uri-res - New directory


cvs commit: apache-site/uri-res N2L.cgi

1998-05-05 Thread brian
brian   98/05/04 20:15:34

  Added:   uri-res  N2L.cgi
  Log:
  Added a URN-URL resolution program provided by the Squid developers.  Let's
  see if this works!
  
  Revision  ChangesPath
  1.1  apache-site/uri-res/N2L.cgi
  
  Index: N2L.cgi
  ===
  #!/usr/local/bin/perl
  $mirfile = '/pub/apache/mirrors/mirrors.list';
  
  print Content-type: text/plain\r\n;
  print Expires: , http_time(time+3600), \r\n;
  print \r\n;
  
  if ($ENV{'REQUEST_METHOD'} eq POST) {
  read(STDIN, $request, $ENV{'CONTENT_LENGTH'});
  } elsif ($ENV{'REQUEST_METHOD'} eq GET ) {
  $request = $ENV{'QUERY_STRING'};
  }
  $request = url_decode($request);
  
  #
  # special hack; turn 'urn:foo' into 'urn:foo:/'
  #
  $request .= ':/' unless ($request =~ /([^:]+):([^:]+):/);
  
  #$state = 0;
  open(MIRR, $mirfile) || die can't open mirror file!;
  while (MIRR) {
  chop;
  next if (/^#/);
  next unless (/./);
  
  # We have two URN's, www.apache.org and ftp.apache.org.  
  # Soak them up into two arrays, then blast them out.
  
  ($scheme, $country, $url, $admin) = split(/\s+/);
  $urns{$scheme} .= $url\n;
  }

  if ($request =~ /www.apache.org/) {
  print $urns{'http'} 
  } elsif ($request =~ /ftp.apache.org/) {
  print $urns{'ftp'}
  }
  
  exit 0;
  
  sub url_decode {
  local($_) = @_;
  tr/+/ /;
  s/%(..)/pack(c,hex($1))/ge;
  $_;
  }
  
  sub http_time {
  local($t) = @_;
  local(@T) = gmtime($t);
  local(@WD) = ('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
  local(@MO) = ( 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 
'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
  sprintf %s, %d %s %d %02d:%02d:%02d GMT,
  $WD[$T[6]],
  $T[3],
  $MO[$T[4]],
  $T[5],
  $T[2],$T[1],$T[0];
  }
  
  
  


cvs commit: apache-1.3/src/main http_config.c

1998-05-05 Thread brian
brian   98/05/04 21:40:40

  Modified:src/include http_config.h
   src/main http_config.c
  Log:
  Submitted by: Dean Gaudet
  
  get/set_module_config are trivial enough to be better off inline.  Worth
  1.5% performance boost.  Updated for renaming.
  
  Dean
  
  Revision  ChangesPath
  1.82  +5 -0  apache-1.3/src/include/http_config.h
  
  Index: http_config.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/http_config.h,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- http_config.h 1998/05/03 17:31:08 1.81
  +++ http_config.h 1998/05/05 04:40:30 1.82
  @@ -285,6 +285,11 @@
   API_EXPORT(void *) ap_get_module_config(void *conf_vector, module *m);
   API_EXPORT(void) ap_set_module_config(void *conf_vector, module *m, void 
*val);
   
  +#define ap_get_module_config(v,m)\
  +(((void **)(v))[(m)-module_index])
  +#define ap_set_module_config(v,m,val)\
  +void **)(v))[(m)-module_index]) = (val))
  +
   /* Generic command handling function... */
   
   API_EXPORT_NONSTD(const char *) ap_set_string_slot(cmd_parms *, char *, char 
*);
  
  
  
  1.115 +4 -0  apache-1.3/src/main/http_config.c
  
  Index: http_config.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/http_config.c,v
  retrieving revision 1.114
  retrieving revision 1.115
  diff -u -r1.114 -r1.115
  --- http_config.c 1998/04/13 18:05:10 1.114
  +++ http_config.c 1998/05/05 04:40:39 1.115
  @@ -115,17 +115,21 @@
* overridden).
*/
   
  +#ifndef ap_get_module_config
   API_EXPORT(void *) ap_get_module_config(void *conf_vector, module *m)
   {
   void **confv = (void **) conf_vector;
   return confv[m-module_index];
   }
  +#endif
   
  +#ifndef ap_set_module_config
   API_EXPORT(void) ap_set_module_config(void *conf_vector, module *m, void 
*val)
   {
   void **confv = (void **) conf_vector;
   confv[m-module_index] = val;
   }
  +#endif
   
   static void *create_empty_config(pool *p)
   {
  
  
  


cvs commit: apache-1.3/src CHANGES

1998-05-05 Thread brian
brian   98/05/04 21:41:35

  Modified:src  CHANGES
  Log:
  
  
  Revision  ChangesPath
  1.818 +3 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.817
  retrieving revision 1.818
  diff -u -r1.817 -r1.818
  --- CHANGES   1998/05/05 02:57:32 1.817
  +++ CHANGES   1998/05/05 04:41:32 1.818
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b7
   
  +  *) get/set_module_config are trivial enough to be better off inline.  Worth
  + 1.5% performance boost. [Dean Gaudet]
  +
 *) Fix off-by-one error in ap_proxy_date_canon() in proxy_util.c
when ensuring 'x' is at least 30-chars big.
   
  
  
  


cvs commit: apache-1.3/src/main http_core.c

1998-05-05 Thread brian
brian   98/05/04 21:48:06

  Modified:src/modules/standard mod_log_config.c mod_rewrite.c
mod_status.c
   src/main http_core.c
  Log:
  Hi,
  
  the patch makes mod_rewrite, mod_log_config, mod_status and
  the ServerSignature feature compatible with 'UseCanonicalName off'
  by changing  r-server-server_hostname to ap_get_server_name().
  
  And I changed some functions which use r-server-port to
  use ap_get_server_port() instead, because if there's no Port directive
  in the config r-server-port is 0.
  
  ciao...
  --
  Lars Eilebrecht- Reality has always been to small
  [EMAIL PROTECTED] - for human imagination.
  http://www.home.unix-ag.org/sfx/
  
  Revision  ChangesPath
  1.56  +2 -2  apache-1.3/src/modules/standard/mod_log_config.c
  
  Index: mod_log_config.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_config.c,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- mod_log_config.c  1998/04/29 23:46:03 1.55
  +++ mod_log_config.c  1998/05/05 04:47:58 1.56
  @@ -404,12 +404,12 @@
*/
   static char *log_virtual_host(request_rec *r, char *a)
   {
  -return ap_pstrdup(r-pool, r-server-server_hostname);
  +return ap_pstrdup(r-pool, ap_get_server_name(r));
   }
   
   static char *log_server_port(request_rec *r, char *a)
   {
  -return ap_psprintf(r-pool, %u, r-server-port);
  +return ap_psprintf(r-pool, %u, ap_get_server_port(r));
   }
   
   static char *log_child_pid(request_rec *r, char *a)
  
  
  
  1.102 +12 -9 apache-1.3/src/modules/standard/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_rewrite.c,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- mod_rewrite.c 1998/04/11 12:00:50 1.101
  +++ mod_rewrite.c 1998/05/05 04:47:59 1.102
  @@ -998,11 +998,12 @@
*/
   
   /* add the canonical URI of this URL */
  -thisserver = r-server-server_hostname;
  -if (is_default_port(r-server-port, r))
  +thisserver = (char *) ap_get_server_name(r);
  +thisport = (char *) ap_get_server_port(r);
  +if (is_default_port((int) thisport, r))
   thisport = ;
   else {
  -ap_snprintf(buf, sizeof(buf), :%u, r-server-port);
  +ap_snprintf(buf, sizeof(buf), :%u, thisport);
   thisport = buf;
   }
   thisurl = ap_table_get(r-subprocess_env, ENVVAR_SCRIPT_URL);
  @@ -2249,25 +2250,27 @@
   {
   int i;
   char port[32];
  +char *thisport;
   
   i = strlen(r-filename);
   if (!(   (i  7  strncasecmp(r-filename, http://;, 7)   == 0)
 || (i  8  strncasecmp(r-filename, https://;, 8)  == 0)
 || (i  9  strncasecmp(r-filename, gopher://;, 9) == 0)
 || (i  6  strncasecmp(r-filename, ftp://;, 6)== 0))) {
  -
  -if (is_default_port(r-server-port,r))
  +  
  +thisport = (char *) ap_get_server_port(r);
  +if (is_default_port((int) thisport,r))
   port[0] = '\0';
   else
  -ap_snprintf(port, sizeof(port), :%u, r-server-port);
  +ap_snprintf(port, sizeof(port), :%u, thisport);
   
   if (r-filename[0] == '/')
   r-filename = ap_psprintf(r-pool, %s://%s%s%s,
  -http_method(r), r-server-server_hostname,
  +http_method(r), ap_get_server_name(r),
   port, r-filename);
   else
   r-filename = ap_psprintf(r-pool, %s://%s%s/%s,
  -http_method(r), r-server-server_hostname,
  +http_method(r), ap_get_server_name(r),
   port, r-filename);
   }
   return;
  @@ -2960,7 +2963,7 @@
   
   ap_snprintf(str3, sizeof(str3),
   %s %s [%s/sid#%lx][rid#%lx/%s%s] (%d) %s\n, str1,
  -current_logtime(r), r-server-server_hostname,
  +current_logtime(r), ap_get_server_name(r),
   (unsigned long)(r-server), (unsigned long)r,
   type, redir, level, str2);
   
  
  
  
  1.86  +1 -2  apache-1.3/src/modules/standard/mod_status.c
  
  Index: mod_status.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_status.c,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -r1.85 -r1.86
  --- mod_status.c  1998/04/11 12:00:51 1.85
  +++ mod_status.c  1998/05/05 04:47:59 1.86
  @@ -234,7 +234,6 @@
   #endif /* STATUS */
   int short_report = 0;
   int no_table_report = 0;
  -server_rec *server = r-server

cvs commit: apache-1.3/src/main .cvsignore

1998-05-05 Thread brian
brian   98/05/04 21:54:52

  Modified:src/main .cvsignore
  Log:
  Never can make the development environment too comfortable for our Win32 
folks.
  [smile]
  
  Revision  ChangesPath
  1.5   +8 -0  apache-1.3/src/main/.cvsignore
  
  Index: .cvsignore
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/.cvsignore,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- .cvsignore1998/03/26 04:58:38 1.4
  +++ .cvsignore1998/05/05 04:54:51 1.5
  @@ -3,3 +3,11 @@
   gen_uri_delims
   test_char.h
   gen_test_char
  +gen_uri_delims_R
  +gen_test_char_R
  +gen_uri_delims_D
  +gen_uri_delims.ilk
  +gen_uri_delims.pdb
  +gen_test_char_D
  +gen_test_char.ilk
  +gen_test_char.pdb
  
  
  


cvs commit: apache-1.3/htdocs/manual/misc FAQ.html

1998-05-05 Thread brian
brian   98/05/04 22:09:32

  Modified:htdocs/manual/misc FAQ.html
  Log:
  Slightly improve the grammar; however, in my opinion this whole chunk can just
  be tossed out of the FAQ.  I can't believe we're actually asked how can I 
make
  only one file executable?.
  
  Revision  ChangesPath
  1.114 +2 -2  apache-1.3/htdocs/manual/misc/FAQ.html
  
  Index: FAQ.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/misc/FAQ.html,v
  retrieving revision 1.113
  retrieving revision 1.114
  diff -u -r1.113 -r1.114
  --- FAQ.html  1998/04/25 18:48:43 1.113
  +++ FAQ.html  1998/05/05 05:09:31 1.114
  @@ -15,7 +15,7 @@
 !--#include virtual=header.html --
 H1 ALIGN=CENTERApache Server Frequently Asked Questions/H1
 P
  -  $Revision: 1.113 $ ($Date: 1998/04/25 18:48:43 $)
  +  $Revision: 1.114 $ ($Date: 1998/05/05 05:09:31 $)
 /P
 P
 The latest version of this FAQ is always available from the main
  @@ -619,7 +619,7 @@
 /OL
 /P
 P
  -  In some situations it can be not conform to your local policy to actually
  +  In some situations, you might not want to actually
 allow all files named quot;SAMP*.cgi/SAMPquot; to be executable.
 Perhaps all you want is to enable a particular file in a normal directory 
to
 be executable. This can be alternatively accomplished 
  
  
  


cvs commit: apache-1.3/htdocs/manual/vhosts name-based.html

1998-05-05 Thread brian
brian   98/05/04 22:54:22

  Modified:htdocs/manual/vhosts name-based.html
  Log:
  Submitted by: Michael K. Sanders [EMAIL PROTECTED]
  
  Clarification.  CNAME to an IP address is incorrect.
  
  Revision  ChangesPath
  1.6   +1 -1  apache-1.3/htdocs/manual/vhosts/name-based.html
  
  Index: name-based.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/vhosts/name-based.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- name-based.html   1998/02/20 06:47:54 1.5
  +++ name-based.html   1998/05/05 05:54:21 1.6
  @@ -61,7 +61,7 @@
   POf course, any additional directives can (and should) be placed
   into the CODElt;VirtualHostgt;/CODE section. To make this work,
   all that is needed is to make sure that the name
  -SAMPwww.domain.tld/SAMP is an alias (CNAME) pointing to the IP address
  +SAMPwww.domain.tld/SAMP points to the IP address
   SAMP111.22.33.44/SAMP/P
   
   pNote: When you specify an IP address in a codeNameVirtualHost/code
  
  
  


cvs commit: apache-site .cvsignore

1998-05-05 Thread brian
brian   98/05/04 22:56:11

  Modified:..cvsignore
  Log:
  
  
  Revision  ChangesPath
  1.6   +1 -0  apache-site/.cvsignore
  
  Index: .cvsignore
  ===
  RCS file: /export/home/cvs/apache-site/.cvsignore,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- .cvsignore1997/12/15 16:56:06 1.5
  +++ .cvsignore1998/05/05 05:56:11 1.6
  @@ -3,6 +3,7 @@
   dist
   docs
   docsx
  +docs-1.2
   from-cvs
   incoming
   java
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-05 Thread brian
brian   98/05/04 23:55:05

  Modified:.STATUS
  Log:
  various updates, removal of some items, additions of others.
  
  Revision  ChangesPath
  1.372 +19 -15apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.371
  retrieving revision 1.372
  diff -u -r1.371 -r1.372
  --- STATUS1998/05/05 02:57:30 1.371
  +++ STATUS1998/05/05 06:55:05 1.372
  @@ -13,7 +13,7 @@
   
   * proxy security fixes from 1.2.5 need to be brought forward.
 Note: off-by-one error in ap_proxy_date_canon() in
  -proxy_util.c was fixed.
  +proxy_util.c was fixed.  any others???
   
   * Someone other than Dean has to do a security/correctness review on
 psprintf(), bprintf(), and ap_snprintf().  In particular these routines
  @@ -26,7 +26,9 @@
 A device checker patch had been sent to the list a while ago.
 PATCH: Make the code wrapped by unvoted_DISALLOW_DEVICE_ACCESS
the default in ap_pcfg_openfile()
  -  Status: Martin +1, Jim +1, Brian +1
  +  Status: Martin +1, Jim +1
  +  -- This still doesn't fix it for htpasswd files... how about other 
files
  + like the mime types file?
   
   * get_path_info bug; ap_get_remote_host should be ap_vformatter instead.
 See: [EMAIL PROTECTED]
  @@ -136,7 +138,7 @@
   * proxy_*_canon routines use r-proxyreq incorrectly.  See
[EMAIL PROTECTED]
   
  - * LynxOS has system-level conf.h file
  +* LynxOS has system-level conf.h file
Seems that Lynx has a system level conf.h file that ours overrules,
so it doesn't compile correctly. To accomodate, we would need to
rename our conf.h to something safe. Possible choices:
  @@ -201,16 +203,6 @@
Status: Rasmus +1, Paul +1, Jim +1, 
Martin +1, Ralf +1, Ken +1
   
  -* Don't wait for WIN32:  It's been quite some time and WIN32 doesn't seem
  -  to be progressing, and Unix seems quite stable.  It would be in 
Apache's
  -  best interest to continue to support Unix to its utmost, and not delay
  -  a release of 1.3.0 waiting for WIN32 issues to be resolved.
  -
  -Notes:
  -Randy: I would also argue that 1.3b6 is _not_ stable. I've been 
  -   having real fits keeping it alive on a dual processor
  -   machine. Could be OS problems..
  -
   * Should we re-enable nagle now that we're non-buffering CGIs?  See
 various messages from Marc in March 98.
 
  @@ -225,12 +217,12 @@
   
 o Do we want to scrap -DSERVER_SUBVERSION if modules can add
   their contribution strings at run-time?
  -  +1: 
  +  +1: Brian
 -1: Ken
   
 o Debate:
Unix:Win32:OS/2 in '()' comment
  -  +1: Jim, Martin, Alexei, Ken
  +  +1: Jim, Martin, Alexei, Ken, Brian
Irix:AIX:FreeBSD in '()' comment
   
   Win32 specific issues:
  @@ -375,10 +367,22 @@
 possible that it'll do something completely bogus when it's 
 used for read-only things. - Dean Gaudet
   
  +* ap_pcfg_openfile doesn't use pfopen() to open the file.  Consider
  + .htaccess parsing, if a timeout occurs the file may not be closed.  I
  + can't imagine that a timeout would be set during this stage... but it'd
  + probably be good to just clean this up. - Dean Gaudet
  +
   * Okay, so our negotiation strategy needs a bit of refinement.  See
 [EMAIL PROTECTED].
 In general, we need to go through and clean up the negotiation
 module to make it compliant with the final HTTP/1.1 draft, and at the
 very least we should make it more copacetic to the idea of transferring
 gzipped variants of files when both variants exist on the server.
  +
  +* Roy's HTTP/1.1 Wishlist items:
  +1) New status codes?
  +2) Expect
  +3) byte range error handling
  +4) update the Accept-Encoding parser to allow q-values
  +5) would be nice if the proxy used Via and Max-Forwards, even as 
HTTP/1.0
   
  
  
  


cvs commit: apache-site/info apache_books.html

1998-05-04 Thread brian
brian   98/05/03 19:18:44

  Modified:info apache_books.html
  Log:
  Add Lars's info about his new book.
  
  Revision  ChangesPath
  1.4   +21 -3 apache-site/info/apache_books.html
  
  Index: apache_books.html
  ===
  RCS file: /export/home/cvs/apache-site/info/apache_books.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apache_books.html 1998/03/08 01:55:03 1.3
  +++ apache_books.html 1998/05/04 02:18:43 1.4
  @@ -28,7 +28,7 @@
   UL
LI 
 DL
  -   DTSTRONGApache Server for Dummies/STRONG
  +   DTA 
HREF=http://www.dummies.com/cgi/fill_out_template.pl?book:0-7645-0291-3:book-Dummies+Press;STRONGApache
 Server for Dummies/STRONG/A
  /DT
  DDAuthor: Ken Coar
   BR
  @@ -42,6 +42,23 @@
  /DD
 /DL
/LI
  + LI
  +  DL
  +   DTSTRONGApache Web-Server/STRONG
  +   - 2supnd/sup Edition
  +   /DT
  +   DDAuthor: Lars Eilebrecht
  +BR
  +Published by: International Thomson Publishing
  +BR
  +ISBN: 3-8266-0438-5
  +BR
  +Language: German
  +BR
  +Note: includes CD-ROM, expanded and upated edition
  +   /DD
  +  /DL
  + /LI
   /UL
   
   HR
  @@ -69,6 +86,7 @@
 DL
  DTA HREF=http://www.itp.de/online/0347/0347.html;
  STRONGApache Web-Server/STRONG/A
  +   - 1supst/sup Edition
  /DT
  DDAuthor: Lars Eilebrecht
   BR
  @@ -76,9 +94,9 @@
   BR
   ISBN: 3-8266-0347-8
   BR
  -Language: german
  +Language: German
   BR
  -Note: includes CD-ROM
  +Note: includes CD-ROM, (emsold out/em)
  /DD
 /DL
/LI
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-04 Thread brian
brian   98/05/03 19:31:48

  Modified:.STATUS
  Log:
  Major STATUS work  cleaning up for a 1.3b7 release planned for tonight.
  First order of business - get STATUS as manageable and neat as possible.
  Since all committed code changes are in the CHANGES file, this section of
  the STATUS is completely redundant.  I went through and made sure every
  entry removed had an equivalent in CHANGES.
  
  Revision  ChangesPath
  1.357 +0 -44 apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.356
  retrieving revision 1.357
  diff -u -r1.356 -r1.357
  --- STATUS1998/05/03 17:31:02 1.356
  +++ STATUS1998/05/04 02:31:47 1.357
  @@ -43,50 +43,6 @@
   
   Showstoppers:
   
  -Committed Code Changes:
  -
  -* Lars' Configure fix to avoid confusing message under APACI control
  -* Ralf's Configure fix for AWK's failing with string to long error
  -* Ralf's fix for stderr logging to make sure default loglevel is honored
  -* Marc's catching of defined handlers still ending in the default handler
  -* Ralf's cast for dlopen's arg1 under OSF1 and FreeBSD 2.2.x
  -* Lars' fix for the prefix setup on configure --compat
  -* Dean's add %pA, %pI, and %pp codes to ap_vformatter
  -* Dean's httpd -S command line option to dump parsed vhost setup
  -* HP-UX 11 port by Jeff Earickson
  -* Ralf's fix for the install-config target to get correct MimeMagicFile
  -* PRs 2081 and 2082 closed
  -* Ralf's adjustments to `configure --compat' to be even more compatible
  -* Ralf/Jim's enhanced make install carefulness for DocRoot, PR#2084
  -* Ralf's back-compat in configure for EXTRA_xxx parameter names
  -* Ralf's configure fix to avoid side-effects in Configure on exported 
vars
  -* Ralf's fix for the install-config target to get correct ScoreBoardFile
  -* Dynamic Shared Object (DSO) support for OpenBSD 2.x
  -* Ralf's enhanced make install carefulness for mime.types+magic files
  -* Ralf's paranoia-fixes for the IFS-handling in `configure'
  -* Fix for the DEBUG_CGI (#ifdef'ed) situation in mod_cgi.c, PR#2114
  -* Ralf's various bugfixes and cleanups for the configure script
  -* Ralf's workaround for braindead awk when generating ap_config.h, 
PR#2139
  -* Ralf's manual renaming of forgotten non-ap_-symbols because of #define
  -* Ralf's fix for SOCKS4 and adding of additional SOCKS5 support, PR#2140
  -* Ralf's workaround for sed limitation in configure script, PR#2136
  -* Ralf's support for making APACI install root overrideable by pkg 
authors
  -* Ralf's more granular install paths: runtimedir, logfiledir, 
proxycachedir
  -* Roy's bugfixes for select() handling
  -* Martin's suppress error(0) messages for ap_log_error()
  -* Ralf's fixes for compiler warnings under AIX 4.2 (NET_SIZE_T is size_t)
  -* Ralf's DSO support for AIX
  -* Ralf's DSO support for NetBSD, PR#2158
  -* Some optimization defines for NetBSD, PR#2165
  -* Ralf's various porting changes to support AIX 3.2, 4.1.5, 4.2 and 4.3.
  -* Ben's WIN32: Make roots of filesystems (e.g. c:/) work, PR#1558
  -* Ben's WIN32: Extensive overhaul of the way UNCs are handled.
  -* Ralf's fix for referer/agent log entries in installed httpd.conf, 
PR#2175
  -* Jim's fix for MIME type case sensitivity disparity, PR#2112
  -* Child processes can now signal to the parent process that
  -  it (the parent process) should abort, shutting down the server.
  -* Michael Anderson's [EMAIL PROTECTED] C++ friendly patch
  -
   Available Patches:
   
   * Dean's mod_alias.c, translate_alias_redir patch
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_alias.c

1998-05-04 Thread brian
brian   98/05/03 19:38:44

  Modified:.STATUS
   src  CHANGES
   src/modules/standard mod_alias.c
  Log:
  Submitted by: Dean Gaudet
  Reviewed by:  Ben Laurie, Jim Jagielski
  
  Fix to mod_alias: translate_alias_redir is dealing with a URI, not a
  filename, so the check for drive letters for win32 and emx is not
  necessary.
  
  Revision  ChangesPath
  1.358 +0 -4  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.357
  retrieving revision 1.358
  diff -u -r1.357 -r1.358
  --- STATUS1998/05/04 02:31:47 1.357
  +++ STATUS1998/05/04 02:38:34 1.358
  @@ -45,10 +45,6 @@
   
   Available Patches:
   
  -* Dean's mod_alias.c, translate_alias_redir patch
  -  [EMAIL PROTECTED]
  -  Status: Dean, Ben, Jim +1
  -
   * Arnt Gulbrandsen [EMAIL PROTECTED] 03 Apr 1998 21:28:17 +0200
 [EMAIL PROTECTED] mod_usertrack.c patch:
 The patch provides per-domain cookies (which I use to share user-ids
  
  
  
  1.814 +4 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.813
  retrieving revision 1.814
  diff -u -r1.813 -r1.814
  --- CHANGES   1998/05/03 22:56:15 1.813
  +++ CHANGES   1998/05/04 02:38:39 1.814
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b7
   
  +  *) Fix to mod_alias: translate_alias_redir is dealing with
  + a URI, not a filename, so the check for drive letters for win32 
  + and emx is not necessary. [Dean Gaudet]
  +
 *) WIN32: Allow .cmd as an executable extension.
[Kari Likovuori [EMAIL PROTECTED]] PR#2146
   
  
  
  
  1.36  +0 -5  apache-1.3/src/modules/standard/mod_alias.c
  
  Index: mod_alias.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_alias.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- mod_alias.c   1998/04/13 18:05:15 1.35
  +++ mod_alias.c   1998/05/04 02:38:43 1.36
  @@ -353,12 +353,7 @@
   char *ret;
   int status;
   
  -#if defined(__EMX__) || defined(WIN32)
  -/* Add support for OS/2 drive names */
  -if ((r-uri[0] != '/'  r-uri[0] != '\0')  r-uri[1] != ':')
  -#else
   if (r-uri[0] != '/'  r-uri[0] != '\0')
  -#endif
return DECLINED;
   
   if ((ret = try_alias_list(r, serverconf-redirects, 1, status)) != 
NULL) {
  
  
  


cvs commit: apache-devsite index.html guidelines.html voting.html

1998-05-04 Thread brian
brian   98/05/03 19:57:06

  Modified:.index.html guidelines.html voting.html
  Log:
  The guidelines have been approved, though with some outstanding issues
  that could use some clarification.
  
  Revision  ChangesPath
  1.22  +5 -2  apache-devsite/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-devsite/index.html,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- index.html1998/04/28 05:30:29 1.21
  +++ index.html1998/05/04 02:57:05 1.22
  @@ -56,8 +56,7 @@
   Apache project plan/ABR
   (last modified on !--#flastmod virtual=project-plan.html --)
  /LI
  -   LIA HREF=guidelinesApache Project Guidelines/A, currently in
  -   draft form.  [A HREF=votingOld Guidelines/A].  BR
  +   LIA HREF=guidelinesApache Project Guidelines/A.
   (last modified on !--#flastmod virtual=guidelines.html --)
  /LI
  LIThe Apache coding A HREF=styleguidestyle guide/ABR
  @@ -139,6 +138,10 @@
  /LI
  LIA A HREF=binbuild.shshell script to build a binary release/A.
  /LI
  +  /UL
  +  H2Historical Documents/H2
  +  UL TYPE=SQUARE
  +   LIA HREF=votingOld voting guidelines/ABR
 /UL
 /BLOCKQUOTE
   !--#include virtual=footer.html --
  
  
  
  1.9   +7 -1  apache-devsite/guidelines.html
  
  Index: guidelines.html
  ===
  RCS file: /export/home/cvs/apache-devsite/guidelines.html,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- guidelines.html   1998/02/12 14:39:20 1.8
  +++ guidelines.html   1998/05/04 02:57:05 1.9
  @@ -15,7 +15,6 @@
   IMG SRC=images/apache_logo.gif ALT=
   H1 ALIGN=CENTERApache Project Guidelines/H1
   
  -PSTRONGDRAFT/STRONG: These guidelines are not yet approved./P
   /CENTER
   
   P
  @@ -332,6 +331,13 @@
   command,/P
   PREpatch -s lt; patchfile/PRE
   is issued in the target repository.
  +
  +H2Addendum: Outstanding issues with this document/H2
  +UL
  +LIWe may need a better definition for lazy consensus.
  +LIWe should clarify under what conditions a veto can be rescinded or 
overridden.
  +LIShould we set a time limit on vetos of patches?  Two weeks?
  +/UL
   
   /BODY 
   /HTML 
  
  
  
  1.7   +5 -0  apache-devsite/voting.html
  
  Index: voting.html
  ===
  RCS file: /export/home/cvs/apache-devsite/voting.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- voting.html   1998/04/06 17:10:39 1.6
  +++ voting.html   1998/05/04 02:57:05 1.7
  @@ -11,6 +11,11 @@
 ALINK=#FF

   
  +H1This document is now obsolete.  Please refer to A
  +HREF=guidelines.htmlthe Apache Project guidelines/A for
  +up-to-date info./H1
  +
  +
   H1 ALIGN=CENTER
IMG SRC=images/apache_logo.gif ALT=BR
Apache voting rules and guidelines
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-04 Thread brian
brian   98/05/03 19:58:03

  Modified:.STATUS
  Log:
  The guidelines have been approved - the devsite docs have been changed
  to reflect this.  Is there anywhere else we can/should note this?
  
  Revision  ChangesPath
  1.360 +0 -30 apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.359
  retrieving revision 1.360
  diff -u -r1.359 -r1.360
  --- STATUS1998/05/04 02:49:50 1.359
  +++ STATUS1998/05/04 02:58:02 1.360
  @@ -9,36 +9,6 @@
   
   2.0  : In pre-alpha development, see apache-2.0 repository
   
  -Guidelines:
  -
  -o For the past few months we have been working on a commit-then-review
  -  basis.  It is now time to decide whether or not we want to work
  -  under the guidelines in http://dev.apache.org/guidelines.html
  -  or not, and if not, what changes are needed to make it right.
  -
  -  Approve guidelines as written:
  - +1: Paul, Jim, Martin, Ralf, Randy, Brian, Ken
  - +0:
  - -1:
  -
  -  Notes:
  -  - Ken: 'lazy consensus' needs to be defined.
  -  - Ralf: At least the following points should be added:
  -  1. A statement that really everyone has the equal right to veto
  - in general and that only the one can rescind a veto who has
  - done it originally.
  -  2. The statements that although a veto can be done at any point
  - if it gets done more then approximately two weeks after some
  - stuff already went in or was changed, the guy who vetoes
  - really  _HAS_ to provide a reasonable alternative solution
  - idea _AND_ at least someone (not really the guy who vetoes)
  - who wants to volunteer for this alternative solution.  Or
  - the veto will not make much sense IMHO at this stage and
  - always just creates flamewars! I think only this way it's
  - fair.
  -
  -Plan:
  -
   Showstoppers:
   
   Available Patches:
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-04 Thread brian
brian   98/05/03 20:03:05

  Modified:.STATUS
  Log:
  Final bit of reprioritizations for now.  Note that showstoppers are at the
  top!  People should either fix them, or decide that the showstoppers aren't
  necessary.
  
  Revision  ChangesPath
  1.361 +52 -57apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.360
  retrieving revision 1.361
  diff -u -r1.360 -r1.361
  --- STATUS1998/05/04 02:58:02 1.360
  +++ STATUS1998/05/04 03:03:04 1.361
  @@ -9,8 +9,59 @@
   
   2.0  : In pre-alpha development, see apache-2.0 repository
   
  -Showstoppers:
  +FINAL RELEASE SHOWSTOPPERS:
  +
  +* proxy security fixes from 1.2.5 need to be brought forward
  +   Jim: What are these?
  +
  +* Someone other than Dean has to do a security/correctness review on
  +  psprintf(), bprintf(), and ap_snprintf().  In particular these routines
  +  do lots of fun pointer manipulations and such and possibly have 
overflow
  +  errors.  The respective flush_funcs also need to be exercised.
  +   o Jim's looked over the ap_snprintf() stuff (the changes that Dean
  + did to make thread-safe) and they look fine.
  +
  +* The DoS issue about symlinks to /dev/zero is still present.
  +  A device checker patch had been sent to the list a while ago.
  +  Msg-Id: ?
  +   Jim: Couldn't we just use stat() and check the file-type?
  +stats are expensive though...
  +
  +* get_path_info bug; ap_get_remote_host should be ap_vformatter instead.
  +  See: [EMAIL PROTECTED]
  +
  +WIN32 1.3 FINAL RELEASE SHOWSTOPPERS:
  +
  +* CGIs
  +- hangs on multiple CGI execution?  PR#1607,1129
  + Marc can't repeat...
  +
  +* SECURITY: PR#1203 still needs to be dealt with for WIN32
  +
  +* SECURITY: check if the magic con/aux/nul/etc names do anything
  + really bad
  +
  +* SECURITY: numerous uses of strcpy and strcat have potential
  + for buffer overflow, someone should rewrite or verify
  + they're safe
  +
  +* SECURITY: os_ abstract is_only_below() in mod_include.c
   
  +* signal type handling
  + - how to rotate logs from command line?
  +
  +* bad use of chdir in some places; it isn't thread-specific
  +
  +Documentation that needs writing:
  +
  +* Documentation for:
  +  1) htdocs/manual/sourcereorg.html and other files should mention 
  + new mod_so capabilities.
  +  2) windows.html should be cleaned up.
  +
  +* Need a document explaining mod_rewrite/UseCanonicalName off based
  + virtualhosting.  (If it exists already I can't find it easily.)
  +
   Available Patches:
   
   * Ed Korthof's patch to fix protocol issues surrounding 400, 408, and
  @@ -48,38 +99,6 @@
   * Ken's IndexFormat enhancement to mod_autoindex to allow
 CustomLog-like tailoring of directory listing formats
   
  -FINAL RELEASE SHOWSTOPPERS:
  -
  -* proxy security fixes from 1.2.5 need to be brought forward
  -   Jim: What are these?
  -
  -* Someone other than Dean has to do a security/correctness review on
  -  psprintf(), bprintf(), and ap_snprintf().  In particular these routines
  -  do lots of fun pointer manipulations and such and possibly have 
overflow
  -  errors.  The respective flush_funcs also need to be exercised.
  -   o Jim's looked over the ap_snprintf() stuff (the changes that Dean
  - did to make thread-safe) and they look fine.
  -
  -* The DoS issue about symlinks to /dev/zero is still present.
  -  A device checker patch had been sent to the list a while ago.
  -  Msg-Id: ?
  -   Jim: Couldn't we just use stat() and check the file-type?
  -stats are expensive though...
  -
  -* get_path_info bug; ap_get_remote_host should be ap_vformatter instead.
  -  See: [EMAIL PROTECTED]
  -
  -
  -Documentation that needs writing:
  -
  -* Documentation for:
  -  1) htdocs/manual/sourcereorg.html and other files should mention 
  - new mod_so capabilities.
  -  2) windows.html should be cleaned up.
  -
  -* Need a document explaining mod_rewrite/UseCanonicalName off based
  - virtualhosting.  (If it exists already I can't find it easily.)
  -
   Needs patch:
   
   * uri issues
  @@ -126,8 +145,6 @@
apdefaults.h   :
apdefines.h:
   
  -Closed issues:
  -
   Open issues:
   
   * Paul would like to see a 'gdbm' option because he uses
  @@ -326,28 +343,6 @@
   * mod_include -- exec cgi, exec cmd, etc. don't work right.
 Looks like a code path that isn't run anywhere else that has
 something not quite right...  A PR or two on it.
  -
  -WIN32 1.3 FINAL RELEASE SHOWSTOPPERS:
  -
  -* CGIs
  -- hangs on multiple CGI execution?  PR#1607,1129

cvs commit: apache-1.3 STATUS

1998-05-04 Thread brian
brian   98/05/03 20:18:03

  Modified:.STATUS
  Log:
  Ben handled these, or they were from bug reports that haven't been
  updated with feedback from users.
  
  Revision  ChangesPath
  1.362 +0 -6  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.361
  retrieving revision 1.362
  diff -u -r1.361 -r1.362
  --- STATUS1998/05/04 03:03:04 1.361
  +++ STATUS1998/05/04 03:18:02 1.362
  @@ -32,12 +32,6 @@
   
   WIN32 1.3 FINAL RELEASE SHOWSTOPPERS:
   
  -* CGIs
  -- hangs on multiple CGI execution?  PR#1607,1129
  - Marc can't repeat...
  -
  -* SECURITY: PR#1203 still needs to be dealt with for WIN32
  -
   * SECURITY: check if the magic con/aux/nul/etc names do anything
really bad
   
  
  
  


cvs commit: apache-1.3 STATUS

1998-05-04 Thread brian
brian   98/05/03 23:06:09

  Modified:.STATUS
  Log:
  Add something Dean caught
  
  Revision  ChangesPath
  1.363 +3 -0  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.362
  retrieving revision 1.363
  diff -u -r1.362 -r1.363
  --- STATUS1998/05/04 03:18:02 1.362
  +++ STATUS1998/05/04 06:06:07 1.363
  @@ -364,3 +364,6 @@
   * proxy module doesn't load on Win95.  Why?  Good question.
PR#1462.
   
  +* In ap_bclose() there's no test that (fb-fd != -1) -- so it's
  +  possible that it'll do something completely bogus when it's 
  +  used for read-only things. - Dean Gaudet
  
  
  


cvs commit: apache-2.0/ballots - New directory

1998-05-04 Thread brian
brian   98/05/03 23:10:41

  apache-2.0/ballots - New directory


Re: cvs commit: apache-2.0/ballots - New directory

1998-05-04 Thread Brian Behlendorf

Nevermind... pass the gin and tonic.

At 06:10 AM 5/4/98 -, [EMAIL PROTECTED] wrote:
brian   98/05/03 23:10:41

  apache-2.0/ballots - New directory


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
pure chewing satisfaction  [EMAIL PROTECTED]
[EMAIL PROTECTED]


<    1   2   3   4   5   6   >