cvs commit: apache/src mod_cgi.c

1996-11-25 Thread Ben Laurie
ben 96/11/25 05:32:49

  Modified:src   mod_cgi.c
  Log:
  Squash a warning.
  
  Revision  ChangesPath
  1.22  +1 -1  apache/src/mod_cgi.c
  
  Index: mod_cgi.c
  ===
  RCS file: /export/home/cvs/apache/src/mod_cgi.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -C3 -r1.21 -r1.22
  *** mod_cgi.c 1996/11/25 11:22:00 1.21
  --- mod_cgi.c 1996/11/25 13:32:48 1.22
  ***
  *** 432,438 
strncpy(dbuf + dbpos, argsbuffer, dbsize);
dbpos += dbsize;
}
  ! if (fwrite(argsbuffer, 1, len_read, script_out)  len_read) {
/* silly script stopped reading, soak up remaining message */
while (get_client_block(r, argsbuffer, HUGE_STRING_LEN)  0)
; /* dump it */
  --- 432,438 
strncpy(dbuf + dbpos, argsbuffer, dbsize);
dbpos += dbsize;
}
  ! if (fwrite(argsbuffer, 1, len_read, script_out)  (size_t)len_read) 
{
/* silly script stopped reading, soak up remaining message */
while (get_client_block(r, argsbuffer, HUGE_STRING_LEN)  0)
; /* dump it */
  
  
  


cvs commit: apache/src/modules/proxy proxy_cache.c

1996-11-25 Thread Chuck Murcko
chuck   96/11/25 07:22:13

  Modified:src/modules/proxy  proxy_cache.c
  Log:
  Cleanup promised earlier which didn't make it in.
  
  Revision  ChangesPath
  1.7   +3 -7  apache/src/modules/proxy/proxy_cache.c
  
  Index: proxy_cache.c
  ===
  RCS file: /export/home/cvs/apache/src/modules/proxy/proxy_cache.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -C3 -r1.6 -r1.7
  *** proxy_cache.c 1996/11/25 02:49:53 1.6
  --- proxy_cache.c 1996/11/25 15:22:11 1.7
  ***
  *** 781,797 
#define TMPFILESTR  /tmpXX
if (conf-cache.root == NULL)
return DECLINED;
  ! c-tempfile=palloc(r-pool,strlen(conf-cache.root)+sizeof TMPFILESTR);
strcpy(c-tempfile,conf-cache.root);
  - /*
  - p = strrchr(c-tempfile, '/');
  - if (p == NULL) return DECLINED;
  - strcpy(p, TMPFILESTR);
  - */
strcat(c-tempfile,TMPFILESTR);
#undef TMPFILESTR
p = mktemp(c-tempfile);
  ! if (p == NULL) return DECLINED;

Explain1(Create temporary file %s,c-tempfile);

  --- 781,793 
#define TMPFILESTR  /tmpXX
if (conf-cache.root == NULL)
return DECLINED;
  ! c-tempfile=palloc(r-pool,strlen(conf-cache.root)+sizeof(TMPFILESTR));
strcpy(c-tempfile,conf-cache.root);
strcat(c-tempfile,TMPFILESTR);
#undef TMPFILESTR
p = mktemp(c-tempfile);
  ! if (p == NULL)
  ! return DECLINED;

Explain1(Create temporary file %s,c-tempfile);

  
  
  


cvs commit: apache/src httpd.h

1996-11-25 Thread Randy Terbush
randy   96/11/25 09:18:21

  Modified:src   httpd.h
  Log:
  Preparing for first internal Beta 1.2b0
  
  Revision  ChangesPath
  1.64  +1 -1  apache/src/httpd.h
  
  Index: httpd.h
  ===
  RCS file: /export/home/cvs/apache/src/httpd.h,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -C3 -r1.63 -r1.64
  *** httpd.h   1996/11/25 11:21:58 1.63
  --- httpd.h   1996/11/25 17:18:19 1.64
  ***
  *** 241,247 
 * Example: Apache/1.1.0 MrWidget/0.1-alpha 
 */

  ! #define SERVER_VERSION Apache/1.2-dev /* SEE COMMENTS ABOVE */

#define SERVER_PROTOCOL HTTP/1.1
#define SERVER_SUPPORT http://www.apache.org/;
  --- 241,247 
 * Example: Apache/1.1.0 MrWidget/0.1-alpha 
 */

  ! #define SERVER_VERSION Apache/1.2b0 /* SEE COMMENTS ABOVE */

#define SERVER_PROTOCOL HTTP/1.1
#define SERVER_SUPPORT http://www.apache.org/;
  
  
  


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

1996-11-25 Thread Sameer Parekh
sameer  96/11/25 21:26:25

  Modified:htdocs/manual/misc  FAQ.html
  Log:
  fix typo
  
  Revision  ChangesPath
  1.3   +1 -1  apache/htdocs/manual/misc/FAQ.html
  
  Index: FAQ.html
  ===
  RCS file: /export/home/cvs/apache/htdocs/manual/misc/FAQ.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** FAQ.html  1996/11/21 09:55:47 1.2
  --- FAQ.html  1996/11/26 05:26:24 1.3
  ***
  *** 48,54 
We, of course, owe a great debt to NCSA and their programmers for
making the server Apache was based on. We now, however, have our own
server, and our project is mostly our own. The Apache Project is an
  ! entitely independent venture.
/P
HR

  --- 48,54 
We, of course, owe a great debt to NCSA and their programmers for
making the server Apache was based on. We now, however, have our own
server, and our project is mostly our own. The Apache Project is an
  ! entirely independent venture.
/P
HR

  
  
  


cvs commit: apache/htdocs/manual/mod mod_alias.html

1996-11-25 Thread Sameer Parekh
sameer  96/11/25 22:13:48

  Modified:htdocs/manual/mod  mod_alias.html
  Log:
  Add redirecttemp/perm directives
  
  Revision  ChangesPath
  1.3   +26 -1 apache/htdocs/manual/mod/mod_alias.html
  
  Index: mod_alias.html
  ===
  RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_alias.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** mod_alias.html1996/11/21 10:30:38 1.2
  --- mod_alias.html1996/11/26 06:13:47 1.3
  ***
  *** 17,22 
  --- 17,24 
menu
liA HREF=#aliasAlias/A
liA HREF=#redirectRedirect/A
  + liA HREF=#redirecttempRedirectTemp/A
  + liA HREF=#redirectpermRedirectPermanent/A
liA HREF=#scriptaliasScriptAlias/A
/menu
hr
  ***
  *** 60,67 
If the client requests http://myserver/service/foo.txt, it will be told to
access http://foo2.bar.com/service/foo.txt instead.p
Note: Redirect directives take precedence over Alias and ScriptAlias
  ! directives, irrespective of their ordering in the configuration file.phr

A name=scriptaliash2ScriptAlias/h2/A
!--%plaintext lt;?INDEX {\tt ScriptAlias} directivegt; --
strongSyntax:/strong ScriptAlias emurl-path 
directory-filename/embr
  --- 62,92 
If the client requests http://myserver/service/foo.txt, it will be told to
access http://foo2.bar.com/service/foo.txt instead.p
Note: Redirect directives take precedence over Alias and ScriptAlias
  ! directives, irrespective of their ordering in the configuration file.p

  + A name=redirecttemph2RedirectTemp/h2/A
  + !--%plaintext lt;?INDEX {\tt Redirect} directivegt; --
  + strongSyntax:/strong RedirectTemp emurl-path url/embr
  + StrongContext:/strong server config, virtual host, directory, 
.htaccessbr
  + strongStatus:/strong Basebr
  + strongModule:/strong mod_aliasbr
  + strongCompatibility:/strong This directive is only available in 1.2P
  + 
  + This directive makes the client know that the Redirect is only
  + temporary. (Status 302).P
  + 
  + A name=redirectpermh2RedirectPermanent/h2/A
  + !--%plaintext lt;?INDEX {\tt Redirect} directivegt; --
  + strongSyntax:/strong RedirectPermanent emurl-path url/embr
  + StrongContext:/strong server config, virtual host, directory, 
.htaccessbr
  + strongStatus:/strong Basebr
  + strongModule:/strong mod_aliasbr
  + strongCompatibility:/strong This directive is only available in 1.2P
  + 
  + This directive makes the client know that the Redirect is permanent.
  + (Status 301).P
  + 
  + hr
A name=scriptaliash2ScriptAlias/h2/A
!--%plaintext lt;?INDEX {\tt ScriptAlias} directivegt; --
strongSyntax:/strong ScriptAlias emurl-path 
directory-filename/embr
  
  
  


cvs commit: apache/htdocs/manual/mod mod_cgi.html

1996-11-25 Thread Sameer Parekh
sameer  96/11/25 22:20:30

  Modified:htdocs/manual/mod  mod_cgi.html
  Log:
  Add Script* directives
  
  Revision  ChangesPath
  1.3   +36 -0 apache/htdocs/manual/mod/mod_cgi.html
  
  Index: mod_cgi.html
  ===
  RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_cgi.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** mod_cgi.html  1996/11/21 10:30:43 1.2
  --- mod_cgi.html  1996/11/26 06:20:29 1.3
  ***
  *** 45,50 
  --- 45,86 
/dl
P

  + h2Directives/h2
  + ul
  + liA HREF=#scriptlogScriptLog/A
  + liA HREF=#scriptloglengthScriptLogLength/A
  + liA HREF=#scriptlogbuffScriptLogBuffer/A
  + /ul
  + 
  + A NAME=scriptlogH2ScriptLog/H2/A
  + 
  + STRONGSyntax:/STRONG ScriptLog EMfilename/EMBR
  + STRONGContext:/STRONG server config, virtualhostBR
  + STRONGStatus:/STRONG BaseBR
  + STRONGModule:/STRONG mod_cgiBR
  + STRONGCompatibility:/STRONG ScriptLog is only available in 1.2 and
  + later.P
  + 
  + A NAME=scriptloglengthH2ScriptLogLength/H2/A
  + 
  + STRONGSyntax:/STRONG ScriptLogLength EMsize-bytes/EMBR
  + STRONGContext:/STRONG server config, virtualhostBR
  + STRONGStatus:/STRONG BaseBR
  + STRONGModule:/STRONG mod_cgiBR
  + STRONGDefault:/STRONG ScriptLogLength 10385760BR
  + STRONGCompatibility:/STRONG ScriptLogLength is only available in 1.2 and
  + later.P
  + 
  + A NAME=scriptlogbuffH2ScriptLogBuffer/H2/A
  + STRONGSyntax:/STRONG ScriptLogBuffer EMsize-bytes/EMBR
  + STRONGContext:/STRONG server config, virtualhostBR
  + STRONGStatus:/STRONG BaseBR
  + STRONGModule:/STRONG mod_cgiBR
  + STRONGDefault:/STRONG ScriptLogBuffer 1024BR
  + STRONGCompatibility:/STRONG ScriptLogBuffer is only available in 1.2 and
  + later.P
  + 
  + 
!--#include virtual=footer.html --
/BODY
/HTML
  
  
  


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

1996-11-25 Thread Sameer Parekh
sameer  96/11/25 22:27:56

  Modified:htdocs/manual/mod  core.html
  Log:
  list undocumented core directives
  
  Revision  ChangesPath
  1.3   +7 -0  apache/htdocs/manual/mod/core.html
  
  Index: core.html
  ===
  RCS file: /export/home/cvs/apache/htdocs/manual/mod/core.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** core.html 1996/11/21 10:30:35 1.2
  --- core.html 1996/11/26 06:27:55 1.3
  ***
  *** 14,19 
  --- 14,26 


ul
  + LI SendBufferSize
  + LI lt;Files
  + LI lt;IfModule
  + LI Satisfy
  + LI RLimitCPU
  + LI RLimitMEM
  + LI RLimitNPROC
liA HREF=#accessconfigAccessConfig/A
liA HREF=#accessfilenameAccessFileName/A
liA HREF=#allowoverrideAllowOverride/A
  
  
  


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

1996-11-25 Thread Sameer Parekh
sameer  96/11/25 22:52:27

  Modified:htdocs/manual/mod  core.html
  Log:
  Add docs for files/ifmodule/sendbuffersize
  
  Revision  ChangesPath
  1.5   +35 -3 apache/htdocs/manual/mod/core.html
  
  Index: core.html
  ===
  RCS file: /export/home/cvs/apache/htdocs/manual/mod/core.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -C3 -r1.4 -r1.5
  *** core.html 1996/11/26 06:42:24 1.4
  --- core.html 1996/11/26 06:52:26 1.5
  ***
  *** 14,22 


ul
  ! LI SendBufferSize
  ! LI lt;Files
  ! LI lt;IfModule
LI Satisfy
LI RLimitCPU
LI RLimitMEM
  --- 14,22 


ul
  ! LI A HREF=#sendbuffersizeSendBufferSize/A
  ! LI A HREF=#fileslt;Filesgt;/A
  ! LI A HREF=#ifmodulelt;IfModule%gt;/A
LI Satisfy
LI RLimitCPU
LI RLimitMEM
  ***
  *** 63,68 
  --- 63,100 
/ul
hr

  + A name=sendbuffersizeh2SendBufferSize/h2/A
  + !--%plaintext lt;?INDEX {\tt AccessConfig} directivegt; --
  + strongSyntax:/strong SendBufferSize embytes/embr
  + strongContext:/strong server config, virtual hostbr
  + strongStatus:/strong corep
  + 
  + The server will set the TCP buffer size to the number of bytes
  + specified. Very useful to increase past standard OS defaults on high
  + speed high latency (i.e. 100ms or so, such as transcontinental
  + fast pipes)
  + 
  + phr
  + 
  + A name=filesh2lt;Filesgt;/h2/A
  + strongSyntax:/strong lt;Files emregexp/emgt;BR
  + strongContext:/strong server config, virtualhost, directorybr
  + strongStatus:/strong Core. p
  + 
  + The File container applies the directives within to files
  + which match the regexp.
  + 
  + p hr
  + 
  + A NAME=ifmoduleH2lt;IfModulegt;/H2/A
  + STRONGSyntax:/STRONG lt;IfModule emmodulename/emgt;BR
  + STRONGContext:/STRONG server config, virtual host, directoryBR
  + STRONGStatus:/STRONG corep
  + 
  + Directives within the lt;IfModulegt; container are activated
  + if the specified module is configured into the server.
  + 
  + P hr

A name=accessconfigh2AccessConfig directive/h2/A
!--%plaintext lt;?INDEX {\tt AccessConfig} directivegt; --