Does not apply properly to 4.4 based on 4.1.1-RELEASE diffs created Tue Mar 6 02:15:53 CET 2001 I run small old boxes as gateways, & dont want to waste RAM. I enable the proxy. HostnameLookups On AddCharset hashed out till berklix.com runs a newer apache that supports this LanguagePriority en de fr + Various other hacks *** conf/httpd.conf-dist.orig Tue Mar 6 01:49:16 2001 --- conf/httpd.conf-dist Tue Mar 6 01:59:15 2001 *************** *** 113,119 **** # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # ! MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the --- 113,120 ---- # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # ! #MaxKeepAliveRequests 100 ! MaxKeepAliveRequests 20 # # KeepAliveTimeout: Number of seconds to wait for the next request from the *************** *** 134,147 **** # a new spare. If there are more than MaxSpareServers, some of the # spares die off. The default values are probably OK for most sites. # ! MinSpareServers 5 ! MaxSpareServers 10 # # Number of servers to start initially --- should be a reasonable ballpark # figure. # ! StartServers 5 # # Limit on total number of servers running, i.e., limit on the number --- 135,151 ---- # a new spare. If there are more than MaxSpareServers, some of the # spares die off. The default values are probably OK for most sites. # ! # MinSpareServers 5 ! MinSpareServers 1 ! # MaxSpareServers 10 ! MaxSpareServers 3 # # Number of servers to start initially --- should be a reasonable ballpark # figure. # ! # StartServers 5 ! StartServers 2 # # Limit on total number of servers running, i.e., limit on the number *************** *** 150,156 **** # It is intended mainly as a brake to keep a runaway server from taking # the system with it as it spirals down... # ! MaxClients 150 # # MaxRequestsPerChild: the number of requests each child process is --- 154,161 ---- # It is intended mainly as a brake to keep a runaway server from taking # the system with it as it spirals down... # ! #MaxClients 150 ! MaxClients 20 # # MaxRequestsPerChild: the number of requests each child process is *************** *** 175,180 **** --- 180,187 ---- # #Listen 3000 #Listen 12.34.56.78:80 + Listen 80 + Listen 8080 # # BindAddress: You can support virtual hosts with this option. This directive *************** *** 253,259 **** # e-mailed. This address appears on some server-generated pages, such # as error documents. # ! ServerAdmin you@._ERASE_.your.address # # ServerName allows you to set a host name which is sent back to clients for --- 260,267 ---- # e-mailed. This address appears on some server-generated pages, such # as error documents. # ! #ServerAdmin you@._ERASE_.your.address ! ServerAdmin webmaster@berklix._ERASE_.com # # ServerName allows you to set a host name which is sent back to clients for *************** *** 268,280 **** # anyway, and this will make redirections work in a sensible way. # #ServerName new.host.name # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # ! DocumentRoot "@@ServerRoot@@/htdocs" # # Each directory to which Apache has access, can be configured with respect --- 276,290 ---- # anyway, and this will make redirections work in a sensible way. # #ServerName new.host.name + ServerName berklix.com # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # ! #DocumentRoot "@@ServerRoot@@/htdocs" ! DocumentRoot "/site/@@ServerRoot@@/www/data" # # Each directory to which Apache has access, can be configured with respect *************** *** 299,305 **** # # This should be changed to whatever you set DocumentRoot to. # ! # # This may also be "None", "All", or any combination of "Indexes", --- 309,316 ---- # # This should be changed to whatever you set DocumentRoot to. # ! # ! # # This may also be "None", "All", or any combination of "Indexes", *************** *** 324,329 **** --- 335,347 ---- Allow from all + # Extra directory section by jhs + + Options Indexes FollowSymLinks ExecCGI + AllowOverride None + Options None + + # # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is received. *************** *** 336,353 **** # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # ! # ! # AllowOverride FileInfo AuthConfig Limit ! # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ! # ! # Order allow,deny ! # Allow from all ! # ! # ! # Order deny,allow ! # Deny from all ! # ! # # # DirectoryIndex: Name of the file or files to use as a pre-written HTML --- 354,371 ---- # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # ! ! AllowOverride FileInfo AuthConfig Limit ! Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ! ! Order allow,deny ! Allow from all ! ! ! Order deny,allow ! Deny from all ! ! # # DirectoryIndex: Name of the file or files to use as a pre-written HTML *************** *** 417,423 **** # to be found. # ! TypesConfig conf/mime.types # --- 435,442 ---- # to be found. # ! #TypesConfig conf/mime.types ! TypesConfig /site/@@ServerRoot@@/etc/apache/mime.types # *************** *** 443,449 **** # module is part of the server. # ! MIMEMagicFile conf/magic # --- 462,469 ---- # module is part of the server. # ! #MIMEMagicFile conf/magic ! MIMEMagicFile /site/@@ServerRoot@@/etc/apache/magic # *************** *** 454,460 **** # each client request will result in AT LEAST one lookup request to the # nameserver. # ! HostnameLookups Off # # ErrorLog: The location of the error log file. --- 474,481 ---- # each client request will result in AT LEAST one lookup request to the # nameserver. # ! #HostnameLookups Off ! HostnameLookups On # # ErrorLog: The location of the error log file. *************** *** 470,476 **** # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # ! LogLevel warn # # The following directives define some format nicknames for use with --- 491,498 ---- # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # ! #LogLevel warn ! LogLevel info # # The following directives define some format nicknames for use with *************** *** 495,501 **** --- 517,525 ---- # following directives. # #CustomLog logs/referer_log referer + CustomLog /var/log/httpd-referer.log referer #CustomLog logs/agent_log agent + CustomLog /var/log/httpd-agent.log agent # # If you prefer a single logfile with access, agent, and referer information *************** *** 540,552 **** # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ! ScriptAlias /cgi-bin/ "@@ServerRoot@@/cgi-bin/" # # "@@ServerRoot@@/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # ! AllowOverride None Options None Order allow,deny --- 564,578 ---- # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ! #ScriptAlias /cgi-bin/ "@@ServerRoot@@/cgi-bin/" ! ScriptAlias /cgi-bin/ "/site/@@ServerRoot@@/www/cgi-bin/" # # "@@ServerRoot@@/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # ! # ! AllowOverride None Options None Order allow,deny *************** *** 695,703 **** AddLanguage el .el AddLanguage it .it AddLanguage ja .ja ! AddCharset ISO-2022-JP .jis AddLanguage pl .po ! AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu --- 721,731 ---- AddLanguage el .el AddLanguage it .it AddLanguage ja .ja ! # AddCharset ISO-2022-JP .jis ! # AddCharset hashed out till berklix.com binary new enough to support it AddLanguage pl .po ! # AddCharset ISO-8859-2 .iso-pl ! # AddCharset hashed out till berklix.com binary new enough to support it AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu *************** *** 713,719 **** # more or less alphabetized them here. You probably want to change this. # ! LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz ca es sv # --- 741,748 ---- # more or less alphabetized them here. You probably want to change this. # ! # LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz ca es sv ! LanguagePriority en de fr da nl et el it ja pl pt pt-br ltz ca es sv # *************** *** 747,753 **** # # To use CGI scripts: # ! #AddHandler cgi-script .cgi # # To use server-parsed HTML files --- 776,782 ---- # # To use CGI scripts: # ! AddHandler cgi-script .cgi # # To use server-parsed HTML files *************** *** 845,856 **** # Allow server status reports, with the URL of http://servername/server-status # Change the ".your_domain.com" to match your domain to enable. # ! # ! # SetHandler server-status ! # Order deny,allow ! # Deny from all # Allow from .your_domain.com ! # # # Allow remote server configuration reports, with the URL of --- 874,886 ---- # Allow server status reports, with the URL of http://servername/server-status # Change the ".your_domain.com" to match your domain to enable. # ! ! SetHandler server-status ! Order deny,allow ! Deny from all # Allow from .your_domain.com ! Allow from .js.berklix.net ! # # Allow remote server configuration reports, with the URL of *************** *** 880,914 **** # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # ! # ! #ProxyRequests On ! # ! # ! # Order deny,allow ! # Deny from all ! # Allow from .your_domain.com ! # ! # # 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 ! #CacheLastModifiedFactor 0.1 ! #CacheDefaultExpire 1 #NoCache a_domain.com another_domain.edu joes.garage_sale.com ! # # End of proxy directives. ### Section 3: Virtual Hosts --- 910,947 ---- # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # ! ! ProxyRequests On ! ! ! Order deny,allow ! Deny from all ! # Allow from .your_domain.com ! Allow from .js.berklix.net ! ! # 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" ! CacheRoot "/site/@@ServerRoot@@/www/proxy" ! CacheSize 5 ! CacheGcInterval 4 ! CacheMaxExpire 24 ! CacheLastModifiedFactor 0.1 ! CacheDefaultExpire 1 #NoCache a_domain.com another_domain.edu joes.garage_sale.com + NoCache berklix.com berklix.org berklix.net js.berklix.net ! # End of proxy directives. ### Section 3: Virtual Hosts *************** *** 941,943 **** --- 974,985 ---- # # + + + ServerName berklix.com + + + # + # ServerName vector.muc.ditec.de + # ServerAdmin webmaster@berklix._ERASE_.com + #