martin 98/09/03 11:04:09
Modified: conf access.conf-dist access.conf-dist-win httpd.conf-dist httpd.conf-dist-win Log: Add new directives to config files, add a few comments Revision Changes Path 1.15 +12 -0 apache-1.3/conf/access.conf-dist Index: access.conf-dist =================================================================== RCS file: /home/cvs/apache-1.3/conf/access.conf-dist,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- access.conf-dist 1998/06/06 19:46:59 1.14 +++ access.conf-dist 1998/09/03 18:04:08 1.15 @@ -67,6 +67,18 @@ #allow from .your_domain.com #</Location> +# Allow remote server configuration reports, with the URL of +# http://servername/server-info (requires that mod_info.c be loaded). +# Change the ".your_domain.com" to match your domain to enable. + +#<Location /server-info> +#SetHandler server-info + +#order deny,allow +#deny from all +#allow from .your_domain.com +#</Location> + # There have been reports of people trying to abuse an old bug from pre-1.1 # days. This bug involved a CGI script distributed as a part of Apache. # By uncommenting these lines you can redirect these attacks to a logging 1.10 +12 -0 apache-1.3/conf/access.conf-dist-win Index: access.conf-dist-win =================================================================== RCS file: /home/cvs/apache-1.3/conf/access.conf-dist-win,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- access.conf-dist-win 1998/07/16 20:24:40 1.9 +++ access.conf-dist-win 1998/09/03 18:04:08 1.10 @@ -73,6 +73,18 @@ #allow from .your_domain.com #</Location> +# Allow remote server configuration reports, with the URL of +# http://servername/server-info (requires that mod_info.c be loaded). +# Change the ".your_domain.com" to match your domain to enable. + +#<Location /server-info> +#SetHandler server-info + +#order deny,allow +#deny from all +#allow from .your_domain.com +#</Location> + # There have been reports of people trying to abuse an old bug from pre-1.1 # days. This bug involved a CGI script distributed as a part of Apache. # By uncommenting these lines you can redirect these attacks to a logging 1.28 +17 -0 apache-1.3/conf/httpd.conf-dist Index: httpd.conf-dist =================================================================== RCS file: /home/cvs/apache-1.3/conf/httpd.conf-dist,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- httpd.conf-dist 1998/05/06 21:12:39 1.27 +++ httpd.conf-dist 1998/09/03 18:04:08 1.28 @@ -133,9 +133,19 @@ # Note: You cannot just invent host names and hope they work. The name you # define here must be a valid DNS name for your host. If you don't understand # this, ask your network administrator. +# If your host doesn't have a registered DNS name, enter its IP address here. +# You will have to access it by its address (e.g., http://123.45.67.89) +# anyway, and this will make redirections work in a sensible way. #ServerName new.host.name +# Optionally add a line containing the server version and virtual host +# name to server-generated pages (error documents, ftp directory listings, +# mod_status and mod_info output etc., but not SSI generated documents). +# Set to "EMail" to also include a mailto: link to the ServerAdmin. +# Set to one of: On | Off | EMail +ServerSignature on + # UseCanonicalName: (new for 1.3) With this setting turned on, whenever # Apache needs to construct a self-referencing URL (a url that refers back # to the server the response is coming from) it will use ServerName and @@ -211,9 +221,16 @@ #ProxyRequests On +# Enable/disable the handling of HTTP/1.1 "Via:" headers. +# ("Full" adds the server version; "Block" removes all outgoing Via: headers) +# Set to one of: Off | On | Full | Block +ProxyVia on + # To enable the cache as well, edit and uncomment the following lines: +# (no cacheing without CacheRoot) #CacheRoot @@ServerRoot@@/proxy + #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24 1.17 +17 -0 apache-1.3/conf/httpd.conf-dist-win Index: httpd.conf-dist-win =================================================================== RCS file: /home/cvs/apache-1.3/conf/httpd.conf-dist-win,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- httpd.conf-dist-win 1998/07/16 20:24:40 1.16 +++ httpd.conf-dist-win 1998/09/03 18:04:08 1.17 @@ -115,9 +115,19 @@ # Note: You cannot just invent host names and hope they work. The name you # define here must be a valid DNS name for your host. If you don't understand # this, ask your network administrator. +# If your host doesn't have a registered DNS name, enter its IP address here. +# You will have to access it by its address (e.g., http://123.45.67.89) +# anyway, and this will make redirections work in a sensible way. #ServerName new.host.name +# Optionally add a line containing the server version and virtual host +# name to server-generated pages (error documents, ftp directory listings, +# mod_status and mod_info output etc., but not SSI generated documents). +# Set to "EMail" to also include a mailto: link to the ServerAdmin. +# Set to one of: On | Off | EMail +ServerSignature on + # UseCanonicalName: (new for 1.3) With this setting turned on, whenever # Apache needs to construct a self-referencing URL (a url that refers back # to the server the response is coming from) it will use ServerName and @@ -177,9 +187,16 @@ #ProxyRequests On +# Enable/disable the handling of HTTP/1.1 "Via:" headers. +# ("Full" adds the server version; "Block" removes all outgoing Via: headers) +# Set to one of: Off | On | Full | Block +ProxyVia on + # To enable the cache as well, edit and uncomment the following lines: +# (no cacheing without CacheRoot) #CacheRoot "@@ServerRoot@@/proxy" + #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24