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

1996-11-26 Thread Paul Sutton
pcs 96/11/26 01:23:52

  Modified:htdocs/manual/mod  mod_negotiation.html
  Log:
  Replace magic mime type with handler name
  Add notes to CacheNegotiatedDocs and LanguagePriority about HTTP/1.1
  
  Revision  ChangesPath
  1.3   +23 -13apache/htdocs/manual/mod/mod_negotiation.html
  
  Index: mod_negotiation.html
  ===
  RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_negotiation.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** mod_negotiation.html  1996/11/21 10:30:52 1.2
  --- mod_negotiation.html  1996/11/26 09:23:51 1.3
  ***
  *** 8,18 
!--#include virtual=header.html --
H1Module mod_negotiation/h1

  ! This module is contained in the codemod_negotiation.c/code file, and
  ! is compiled in by default. It provides for
  ! A HREF=content-negotiation.htmlcontent negotiation/A. Any document 
with
  ! mime type codeapplication/x-type-map/code will be processed by this 
module.
  ! !--%plaintext lt;?INDEX {\tt application/x-type-map} mime typegt; --

h2Summary/h2
Content negotiation, or more accurately content selection, is the
  --- 8,16 
!--#include virtual=header.html --
H1Module mod_negotiation/h1

  ! This module is contained in the codemod_negotiation.c/code file,
  ! and is compiled in by default. It provides for A
  ! HREF=../content-negotiation.htmlcontent negotiation/A. 

h2Summary/h2
Content negotiation, or more accurately content selection, is the
  ***
  *** 20,26 
capabilities, from one of several available documents.
There are two implementations of this.
ul
  ! li A type map (a file with the mime type 
codeapplication/x-type-map/code)
which explicitly lists the files containing the variants.
li A MultiViews search (enabled by the MultiViews
A HREF=core.html#optionsOption/A, where the server does an implicit
  --- 18,24 
capabilities, from one of several available documents.
There are two implementations of this.
ul
  ! li A type map (a file with the handler codetype-map/code)
which explicitly lists the files containing the variants.
li A MultiViews search (enabled by the MultiViews
A HREF=core.html#optionsOption/A, where the server does an implicit
  ***
  *** 37,44 
name, which always ends in a colon, followed by a value. Whitespace is 
allowed
between the header name and value, and between the tokens of value.

  ! The headers
  ! allowed are:

dl
dtContent-Encoding:
  --- 35,41 
name, which always ends in a colon, followed by a value. Whitespace is 
allowed
between the header name and value, and between the tokens of value.

  ! The headers allowed are:

dl
dtContent-Encoding:
  ***
  *** 98,108 
strongCompatibility:/strong CacheNegotiatedDocs is only available
in Apache 1.1 and later.p

  ! pIf set, this directive allows content-negotiated documents to be cached
  ! by
  ! proxy servers. This could mean that clients behind those proxys could
  ! retrieve versions of the documents that are not the best match for
  ! their abilities, but it will make caching more efficient./p


A name=languagepriorityh2LanguagePriority/h2/A
  --- 95,112 
strongCompatibility:/strong CacheNegotiatedDocs is only available
in Apache 1.1 and later.p

  ! pIf set, this directive allows content-negotiated documents to be
  ! cached by proxy servers. This could mean that clients behind those
  ! proxys could retrieve versions of the documents that are not the best
  ! match for their abilities, but it will make caching more
  ! efficient.
  ! p
  ! 
  ! This directive only applies to requests which come from HTTP/1.0 browsers.
  ! HTTP/1.1 provides much better control over the caching of negotiated
  ! documents, and this directive has no effect in responses to 
  ! HTTP/1.1 requests.
  ! 


A name=languagepriorityh2LanguagePriority/h2/A
  ***
  *** 123,128 
  --- 127,138 
For a request for codefoo.html/code, where codefoo.html.fr/code
and codefoo.html.de/code both existed, but the browser did not express
a language preference, then codefoo.html.fr/code would be returned.p
  + 
  + P
  + 
  + Note that this directive only has an effect if a 'best' language
  + cannot be determined by other any other means. Correctly implemented
  + HTTP/1.1 requests will mean this directive has no effect. 

!--#include virtual=footer.html --
/BODY
  
  
  


cvs commit: apache/htdocs/manual new_features_1_2.html

1996-11-26 Thread Ben Laurie
ben 96/11/26 12:09:58

  Modified:htdocs/manual  new_features_1_2.html
  Log:
  Numerous HTML cockups and broken links.
  
  Revision  ChangesPath
  1.3   +23 -23apache/htdocs/manual/new_features_1_2.html
  
  Index: new_features_1_2.html
  ===
  RCS file: /export/home/cvs/apache/htdocs/manual/new_features_1_2.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** new_features_1_2.html 1996/11/21 10:47:15 1.2
  --- new_features_1_2.html 1996/11/26 20:09:56 1.3
  ***
  *** 12,27 
will no longer work (specifically, those that process input using the
POST or PUT methods). If you encounter a module that does not work,
please contact the author. A a
  ! href=client_block_api.htmlprogrammer's note/a on the subject is
available./p

h2New Features with Apache 1.2/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
Apache (and the NCSA daemon) took that recent Apache versions are
pickier about - please check the a
  ! href=compat_notes.htmlcompatibility notes/a if you have any
problems./p
hr

  --- 12,27 
will no longer work (specifically, those that process input using the
POST or PUT methods). If you encounter a module that does not work,
please contact the author. A a
  ! href=misc/client_block_api.htmlprogrammer's note/a on the subject is
available./p

h2New Features with Apache 1.2/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
Apache (and the NCSA daemon) took that recent Apache versions are
pickier about - please check the a
  ! href=misc/compat_notes.htmlcompatibility notes/a if you have any
problems./p
hr

  ***
  *** 31,37 

ul

  ! liba name=http11.htmlHTTP/1.1 Compliance/a/bbr
Apache (except for the optional proxy) is fully compliant with
the new HTTP/1.1 standard, as ratified
by the a href=http://www.ics.uci.edu/pub/ietf/http/;IETF HTTP
  --- 31,37 

ul

  ! liba href=http11.htmlHTTP/1.1 Compliance/a/bbr
Apache (except for the optional proxy) is fully compliant with
the new HTTP/1.1 standard, as ratified
by the a href=http://www.ics.uci.edu/pub/ietf/http/;IETF HTTP
  ***
  *** 39,52 
should allow for greater performance and efficiency when transfering
files. Apache does, however, still work great with HTTP/1.0 browsers.

  ! liba href=xssi.htmleXtended Server Side Includes
(XSSI)/a/bbr
A new set of server-side include
directives allows the user to better create WWW pages. This includes
number of powerful new features, such as the ability to set variables
and use conditional HTML.

  ! liba name=files.htmlFile-based and Regex-enabled Directive
Sections/a/bbr
The new codelt;Filesgt;/code section allows directives to be
enabled based on full filename, not just directory and URL. In
  --- 39,52 
should allow for greater performance and efficiency when transfering
files. Apache does, however, still work great with HTTP/1.0 browsers.

  ! liba href=mod/xssi.htmleXtended Server Side Includes
(XSSI)/a/bbr
A new set of server-side include
directives allows the user to better create WWW pages. This includes
number of powerful new features, such as the ability to set variables
and use conditional HTML.

  ! liba href=files.htmlFile-based and Regex-enabled Directive
Sections/a/bbr
The new codelt;Filesgt;/code section allows directives to be
enabled based on full filename, not just directory and URL. In
  ***
  *** 56,75 
also now be based on regular expressions, not just simple prefix
matching. 

  ! liba name=mod_browser.htmlBrowser-based Environment
Variables/a/bbr
Environment variables can now be set based on the
codeUser-Agent/code string of the browser. Combined with a
href=xssi.htmlXSSI/a, this allows you to write browser-based
conditional HTML documents.

  ! liba name=sucgi.htmlSetUID CGI Execution/a/b
Apache now
supports the execution of CGI scripts as users other
than the server user. A number of security checks are built in
to try and make this as safe as possible.

  ! liba name=mod_rewrite.htmlURL Rewriting Module/a/bbr
The optional codemod_rewrite/code module is now included. This
module can provide powerful URL mapping, using regular
expressions. There's nothing this module can't do!
  --- 56,75 
also now be based on regular expressions, not just simple prefix
matching. 

  ! 

cvs commit: apache/src http_main.c

1996-11-26 Thread Ben Laurie
ben 96/11/26 12:11:45

  Modified:src   http_main.c
  Log:
  Squash a bug with non-DNSed virtual hosts.
  
  Revision  ChangesPath
  1.90  +5 -0  apache/src/http_main.c
  
  Index: http_main.c
  ===
  RCS file: /export/home/cvs/apache/src/http_main.c,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -C3 -r1.89 -r1.90
  *** http_main.c   1996/11/22 03:17:07 1.89
  --- http_main.c   1996/11/26 20:11:44 1.90
  ***
  *** 1323,1328 
  --- 1323,1333 
   sizeof (struct in_addr), AF_INET);
if (h != NULL)
s-server_hostname = pstrdup (pconf, (char *)h-h_name);
  + else
  + {
  + fprintf(stderr,Failed to resolve server name (check 
DNS)\n);
  + exit(0);
  + }
}
}
}