mjc 96/07/17 02:57:35
Modified: conf access.conf-dist srm.conf-dist httpd.conf-dist Log: I found a server where the user forgot to change ".nowhere.com"! Since "nowhere.com", "foo.com" are already registered lets use "_" characters in example hostnames which are invalid and should never be allocated. Revision Changes Path 1.4 +2 -2 apache/conf/access.conf-dist Index: access.conf-dist =================================================================== RCS file: /export/home/cvs/apache/conf/access.conf-dist,v retrieving revision 1.3 retrieving revision 1.4 diff -C3 -r1.3 -r1.4 *** access.conf-dist 1996/07/03 17:18:11 1.3 --- access.conf-dist 1996/07/17 09:57:33 1.4 *************** *** 44,57 **** </Directory> # Allow server status reports, with the URL of http://servername/status ! # Change the ".nowhere.com" to match your domain to enable. #<Location /status> #SetHandler server-status #order deny,allow #deny from all ! #allow from .nowhere.com #</Location> # You may place any other directories or locations you wish to have --- 44,57 ---- </Directory> # Allow server status reports, with the URL of http://servername/status ! # Change the ".your_domain.com" to match your domain to enable. #<Location /status> #SetHandler server-status #order deny,allow #deny from all ! #allow from .your_domain.com #</Location> # You may place any other directories or locations you wish to have 1.8 +1 -1 apache/conf/srm.conf-dist Index: srm.conf-dist =================================================================== RCS file: /export/home/cvs/apache/conf/srm.conf-dist,v retrieving revision 1.7 retrieving revision 1.8 diff -C3 -r1.7 -r1.8 *** srm.conf-dist 1996/06/13 02:04:43 1.7 --- srm.conf-dist 1996/07/17 09:57:33 1.8 *************** *** 206,210 **** # n.b. can redirect to a script or a document using server-side-includes. # # 3) external redirects ! #ErrorDocument 402 http://other.server.com/subscription_info.html # --- 206,210 ---- # n.b. can redirect to a script or a document using server-side-includes. # # 3) external redirects ! #ErrorDocument 402 http://some.other_server.com/subscription_info.html # 1.4 +7 -7 apache/conf/httpd.conf-dist Index: httpd.conf-dist =================================================================== RCS file: /export/home/cvs/apache/conf/httpd.conf-dist,v retrieving revision 1.3 retrieving revision 1.4 diff -C3 -r1.3 -r1.4 *** httpd.conf-dist 1996/06/07 20:56:47 1.3 --- httpd.conf-dist 1996/07/17 09:57:34 1.4 *************** *** 143,149 **** #CacheMaxExpire 24 #CacheLastModifiedFactor 0.1 #CacheDefaultExpire 1 ! #NoCache adomain.com anotherdomain.edu joes.garage.com # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the VirtualHost command --- 143,149 ---- #CacheMaxExpire 24 #CacheLastModifiedFactor 0.1 #CacheDefaultExpire 1 ! #NoCache a_domain.com another_domain.edu joe_smith.garage.com # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the VirtualHost command *************** *** 159,168 **** # Any httpd.conf or srm.conf directive may go into a VirtualHost command. # See alto the BindAddress entry. ! #<VirtualHost host.foo.com> ! #ServerAdmin [EMAIL PROTECTED] ! #DocumentRoot /www/docs/host.foo.com ! #ServerName host.foo.com ! #ErrorLog logs/host.foo.com-error_log ! #TransferLog logs/host.foo.com-access_log #</VirtualHost> --- 159,168 ---- # Any httpd.conf or srm.conf directive may go into a VirtualHost command. # See alto the BindAddress entry. ! #<VirtualHost host.some_domain.com> ! #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 #</VirtualHost>