diff options
author | gerald <gerald@localhost> | 1998-07-24 23:19:55 +0000 |
---|---|---|
committer | gerald <gerald@localhost> | 1998-07-24 23:19:55 +0000 |
commit | da60b9d04f5e081e8b639e9d89d545f7fc30cce6 (patch) | |
tree | d4410f147d30a72e7905a82ed4af99788d85623a | |
parent | 9c55e725652553f47abe37bf92c100fd4404e5d7 (diff) | |
download | markup-validator-da60b9d04f5e081e8b639e9d89d545f7fc30cce6.zip markup-validator-da60b9d04f5e081e8b639e9d89d545f7fc30cce6.tar.gz markup-validator-da60b9d04f5e081e8b639e9d89d545f7fc30cce6.tar.bz2 |
customized options for validator.w3.org (based on existing server)
-rw-r--r-- | httpd/conf/httpd.conf | 90 |
1 files changed, 29 insertions, 61 deletions
diff --git a/httpd/conf/httpd.conf b/httpd/conf/httpd.conf index 83a394d..812f9da 100644 --- a/httpd/conf/httpd.conf +++ b/httpd/conf/httpd.conf @@ -1,7 +1,7 @@ # # httpd.conf for validator.w3.org # -# $Id: httpd.conf,v 1.3 1998-07-24 22:28:59 gerald Exp $ +# $Id: httpd.conf,v 1.4 1998-07-24 23:19:55 gerald Exp $ # # This is the main server configuration file. See URL http://www.apache.org/ @@ -56,12 +56,12 @@ HostnameLookups off # don't use Group #-1 on these systems! User nobody -Group #-1 +Group nobody # ServerAdmin: Your address, where problems with the server should be # e-mailed. -ServerAdmin you@your.address +ServerAdmin gerald@w3.org # ServerRoot: The directory the server's config, error, and log files # are kept in. @@ -69,7 +69,7 @@ ServerAdmin you@your.address # mounted filesystem then please read the LockFile documentation, # you will save yourself a lot of trouble. -ServerRoot @@ServerRoot@@ +ServerRoot /usr/local/apache # BindAddress: You can support virtual hosts with this option. This option # is used to tell the server which IP address to listen to. It can either @@ -92,26 +92,12 @@ LogLevel warn # The following directives define some format nicknames for use with # a CustomLog directive (see below). -LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined -LogFormat "%h %l %u %t \"%r\" %>s %b" common -LogFormat "%{Referer}i -> %U" referer -LogFormat "%{User-agent}i" agent +LogFormat "%{%Y-%m-%dT%H:%M:%SZ}t %s %b na %f %h %u \"%r\" \"%{Referer}i\" \"%{Content-Type}o\" \"%{Last-Modified}o\" \"%{User-agent}i\" \"%{Host}i\"" w3c # The location of the access logfile (Common Logfile Format). # If this does not start with /, ServerRoot is prepended to it. -CustomLog logs/access_log common - -# If you would like to have an agent and referer logfile uncomment the -# following directives. - -#CustomLog logs/referer_log referer -#CustomLog logs/agent_log agent - -# If you prefer a single logfile with access, agent and referer information -# (Combined Logfile Format) you can use the following directive. - -#CustomLog logs/access_log combined +CustomLog logs/complete_log w3c # PidFile: The file the server should log its pid to PidFile logs/httpd.pid @@ -140,7 +126,7 @@ ScoreBoardFile logs/apache_runtime_status # define here must be a valid DNS name for your host. If you don't understand # this, ask your network administrator. -#ServerName new.host.name +ServerName validator.w3.org # UseCanonicalName: (new for 1.3) With this setting turned on, whenever # Apache needs to construct a self-referencing URL (a url that refers back @@ -159,7 +145,7 @@ UseCanonicalName on # Timeout: The number of seconds before receives and sends time out -Timeout 300 +Timeout 1200 # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. @@ -219,7 +205,7 @@ MaxRequestsPerChild 30 # To enable the cache as well, edit and uncomment the following lines: -#CacheRoot @@ServerRoot@@/proxy +#CacheRoot /usr/local/apache/proxy #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24 @@ -268,12 +254,12 @@ ResourceConfig /dev/null # 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 /usr/local/validator/htdocs # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is recieved. -UserDir public_html +# UserDir public_html # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. @@ -396,12 +382,12 @@ LanguagePriority en fr de # require it to be present in the URL. So "/icons" isn't aliased in this # example. -Alias /icons/ @@ServerRoot@@/icons/ +Alias /icons/ /usr/local/apache/icons/ # ScriptAlias: This controls which directories contain server scripts. # Format: ScriptAlias fakename realname -#ScriptAlias /cgi-bin/ @@ServerRoot@@/cgi-bin/ +ScriptAlias /check /usr/local/validator/httpd/cgi-bin/check # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. @@ -518,49 +504,31 @@ AllowOverride None # you might expect, make sure that you have specifically enabled it # below. -# This should be changed to whatever you set DocumentRoot to. - -<Directory @@ServerRoot@@/htdocs> - -# This may also be "None", "All", or any combination of "Indexes", -# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". - -# Note that "MultiViews" must be named *explicitly* --- "Options All" -# doesn't give it to you. - +<Directory /usr/local/validator/htdocs> Options Indexes FollowSymLinks - -# This controls which options the .htaccess files in directories can -# override. Can also be "All", or any combination of "Options", "FileInfo", -# "AuthConfig", and "Limit" - AllowOverride None - -# Controls who can get stuff from this server. - order allow,deny allow from all - </Directory> -# @@ServerRoot@@/cgi-bin should be changed to whatever your ScriptAliased -# CGI directory exists, if you have that configured. - -<Directory @@ServerRoot@@/cgi-bin> +<Directory /usr/local/validator/httpd/cgi-bin> AllowOverride None -Options None +Options ExecCGI </Directory> -# Allow server status reports, with the URL of http://servername/server-status -# Change the ".your_domain.com" to match your domain to enable. - -#<Location /server-status> -#SetHandler server-status - -#order deny,allow -#deny from all -#allow from .your_domain.com -#</Location> +<Location /server-status> +SetHandler server-status +order deny,allow +deny from all +allow from .w3.org +</Location> + +<Location /server-info> +SetHandler server-info +order deny,allow +deny from all +allow from .w3.org +</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. |