[Zope] Zope and Apache - again

Phil Harris wmlph@d033.ml.uwcm.ac.uk
Mon, 1 Mar 1999 16:01:14 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_00C9_01BE63FC.BBD35410
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit

Well the WEBSERVER.txt instructions work for me.

Find attached a working httpd.conf.

Also attahced is a module listing from my 'httpd'.

HTH

Phil

----- Original Message -----
From: <raver@box.dust.za.net>
To: <zope@zope.org>
Sent: Monday, March 01, 1999 3:54 PM
Subject: Re: [Zope] Zope and Apache - again


>On Mon, Mar 01, 1999 at 12:28:49PM -0000, Phil Harris wrote:
>> This may sound like a bit of an obvious suggestion, but it caught me out.
>>
>> Check the Directory directive for <apacheroot>/cgi-bin and make sure that
>> the ExecCGI option is set.
>>
>> It should look something like this:
>>
>> <Directory "/www/cgi-bin">
>>     AllowOverride none
>>     Options ExecCGi
>>     Order allow,deny
>>     Allow from all
>> </Directory>
>>
>> Apache 1.3.4 by default doesn't have the ExecCGI option set.
>>
>> HTH
>>
>> Phil
>> ----- Original Message -----
>> From: <raver@box.dust.za.net>
>> To: <zope@zope.org>
>> Sent: Monday, March 01, 1999 12:22 PM
>> Subject: [Zope] Zope and Apache - again
>>
>>
>
>Unfortunately the ExecCGI option didn't help much. Thanks anyways.
>
>I'm still stuck at the
>point where I get 'Authorization failed'. I've checked and double checked
my
>Zope/access file and I use correct username and passwd. The filepermissions
>should also be set correct (according to the instructions given in the
>INSTALL.txt file). Problem is, as far as I can tell, connected to the way
>the rewrite module does the rewrite....
>
>Has anyone confirmed that the way the WEBSERVER.txt file says to rewrite
the
>authorization header actually works?
>
>If it works - is there someone that can say exactly how apache should be
>configured and compiled to get it working (best of all also put in a
working
>httpd.conf also)?
>
>And again.....Appreciate all teh help I can get!
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>

------=_NextPart_000_00C9_01BE63FC.BBD35410
Content-Type: application/octet-stream;
	name="httpd.list"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="httpd.list"

Compiled-in modules:=0A=
  http_core.c=0A=
  mod_mmap_static.c=0A=
  mod_env.c=0A=
  mod_log_config.c=0A=
  mod_log_agent.c=0A=
  mod_log_referer.c=0A=
  mod_mime_magic.c=0A=
  mod_mime.c=0A=
  mod_negotiation.c=0A=
  mod_status.c=0A=
  mod_info.c=0A=
  mod_include.c=0A=
  mod_autoindex.c=0A=
  mod_dir.c=0A=
  mod_cgi.c=0A=
  mod_asis.c=0A=
  mod_imap.c=0A=
  mod_actions.c=0A=
  mod_speling.c=0A=
  mod_userdir.c=0A=
  mod_proxy.c=0A=
  mod_alias.c=0A=
  mod_rewrite.c=0A=
  mod_access.c=0A=
  mod_auth.c=0A=
  mod_auth_anon.c=0A=
  mod_auth_dbm.c=0A=
  mod_auth_db.c=0A=
  mod_digest.c=0A=
  mod_cern_meta.c=0A=
  mod_expires.c=0A=
  mod_headers.c=0A=
  mod_usertrack.c=0A=
  mod_example.c=0A=
  mod_unique_id.c=0A=
  mod_so.c=0A=
  mod_setenvif.c=0A=
  mod_php3.c=0A=

------=_NextPart_000_00C9_01BE63FC.BBD35410
Content-Type: application/octet-stream;
	name="httpd.conf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="httpd.conf"

##=0A=
## httpd.conf -- Apache HTTP server configuration file=0A=
##=0A=
=0A=
#=0A=
# Based upon the NCSA server configuration files originally by Rob =
McCool.=0A=
#=0A=
# This is the main Apache server configuration file.  It contains the=0A=
# configuration directives that give the server its instructions.=0A=
# See <URL:http://www.apache.org/docs/> for detailed information about=0A=
# the directives.=0A=
#=0A=
# Do NOT simply read the instructions in here without understanding=0A=
# what they do.  They're here only as hints or reminders.  If you are =
unsure=0A=
# consult the online docs. You have been warned.  =0A=
#=0A=
# After this file is processed, the server will look for and process=0A=
# /www/conf/srm.conf and then /www/conf/access.conf=0A=
# unless you have overridden these with ResourceConfig and/or=0A=
# AccessConfig directives here.=0A=
#=0A=
# The configuration directives are grouped into three basic sections:=0A=
#  1. Directives that control the operation of the Apache server process =
as a=0A=
#     whole (the 'global environment').=0A=
#  2. Directives that define the parameters of the 'main' or 'default' =
server,=0A=
#     which responds to requests that aren't handled by a virtual host.=0A=
#     These directives also provide default values for the settings=0A=
#     of all virtual hosts.=0A=
#  3. Settings for virtual hosts, which allow Web requests to be sent to=0A=
#     different IP addresses or hostnames and have them handled by the=0A=
#     same Apache server process.=0A=
#=0A=
# Configuration and logfile names: If the filenames you specify for many=0A=
# of the server's control files begin with "/" (or "drive:/" for Win32), =
the=0A=
# server will use that explicit path.  If the filenames do *not* begin=0A=
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"=0A=
# with ServerRoot set to "/usr/local/apache" will be interpreted by the=0A=
# server as "/usr/local/apache/logs/foo.log".=0A=
#=0A=
=0A=
### Section 1: Global Environment=0A=
#=0A=
# The directives in this section affect the overall operation of Apache,=0A=
# such as the number of concurrent requests it can handle or where it=0A=
# can find its configuration files.=0A=
#=0A=
=0A=
#=0A=
# ServerType is either inetd, or standalone.  Inetd mode is only =
supported on=0A=
# Unix platforms.=0A=
#=0A=
ServerType standalone=0A=
=0A=
#=0A=
# ServerRoot: The top of the directory tree under which the server's=0A=
# configuration, error, and log files are kept.=0A=
#=0A=
# NOTE!  If you intend to place this on an NFS (or otherwise network)=0A=
# mounted filesystem then please read the LockFile documentation=0A=
# (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);=0A=
# you will save yourself a lot of trouble.=0A=
#=0A=
# Do NOT add a slash at the end of the directory path.=0A=
#=0A=
ServerRoot "/www"=0A=
=0A=
#=0A=
# The LockFile directive sets the path to the lockfile used when Apache=0A=
# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or=0A=
# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at=0A=
# its default value. The main reason for changing it is if the logs=0A=
# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL=0A=
# DISK. The PID of the main server process is automatically appended to=0A=
# the filename. =0A=
#=0A=
#LockFile /www/logs/httpd.lock=0A=
=0A=
#=0A=
# PidFile: The file in which the server should record its process=0A=
# identification number when it starts.=0A=
#=0A=
PidFile /www/logs/httpd.pid=0A=
=0A=
#=0A=
# ScoreBoardFile: File used to store internal server process information.=0A=
# Not all architectures require this.  But if yours does (you'll know =
because=0A=
# this file will be  created when you run Apache) then you *must* ensure =
that=0A=
# no two invocations of Apache share the same scoreboard file.=0A=
#=0A=
ScoreBoardFile /www/logs/httpd.scoreboard=0A=
=0A=
#=0A=
# In the standard configuration, the server will process httpd.conf,=0A=
# srm.conf, and access.conf in that order.  The latter two files are=0A=
# now distributed empty, as it is recommended that all directives=0A=
# be kept in a single file for simplicity.  The commented-out values=0A=
# below are the built-in defaults.  You can have the server ignore=0A=
# these files altogether by using "/dev/null" (for Unix) or=0A=
# "nul" (for Win32) for the arguments to the directives.=0A=
#=0A=
#ResourceConfig conf/srm.conf=0A=
#AccessConfig conf/access.conf=0A=
=0A=
#=0A=
# Timeout: The number of seconds before receives and sends time out.=0A=
#=0A=
Timeout 300=0A=
=0A=
#=0A=
# KeepAlive: Whether or not to allow persistent connections (more than=0A=
# one request per connection). Set to "Off" to deactivate.=0A=
#=0A=
KeepAlive On=0A=
=0A=
#=0A=
# MaxKeepAliveRequests: The maximum number of requests to allow=0A=
# during a persistent connection. Set to 0 to allow an unlimited amount.=0A=
# We recommend you leave this number high, for maximum performance.=0A=
#=0A=
MaxKeepAliveRequests 100=0A=
=0A=
#=0A=
# KeepAliveTimeout: Number of seconds to wait for the next request from =
the=0A=
# same client on the same connection.=0A=
#=0A=
KeepAliveTimeout 15=0A=
=0A=
#=0A=
# Server-pool size regulation.  Rather than making you guess how many=0A=
# server processes you need, Apache dynamically adapts to the load it=0A=
# sees --- that is, it tries to maintain enough server processes to=0A=
# handle the current load, plus a few spare servers to handle transient=0A=
# load spikes (e.g., multiple simultaneous requests from a single=0A=
# Netscape browser).=0A=
#=0A=
# It does this by periodically checking how many servers are waiting=0A=
# for a request.  If there are fewer than MinSpareServers, it creates=0A=
# a new spare.  If there are more than MaxSpareServers, some of the=0A=
# spares die off.  The default values in httpd.conf-dist are probably OK=0A=
# for most sites.=0A=
#=0A=
MinSpareServers 5=0A=
MaxSpareServers 10=0A=
=0A=
#=0A=
# Number of servers to start initially --- should be a reasonable =
ballpark=0A=
# figure.=0A=
#=0A=
StartServers 5=0A=
=0A=
#=0A=
# Limit on total number of servers running, i.e., limit on the number=0A=
# of clients who can simultaneously connect --- if this limit is ever=0A=
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.=0A=
# It is intended mainly as a brake to keep a runaway server from taking=0A=
# the system with it as it spirals down...=0A=
#=0A=
MaxClients 150=0A=
=0A=
#=0A=
# MaxRequestsPerChild: the number of requests each child process is=0A=
# allowed to process before the child dies.  The child will exit so=0A=
# as to avoid problems after prolonged use when Apache (and maybe the=0A=
# libraries it uses) leak memory or other resources.  On most systems, =
this=0A=
# isn't really needed, but a few (such as Solaris) do have notable leaks=0A=
# in the libraries.=0A=
#=0A=
MaxRequestsPerChild 30=0A=
=0A=
#=0A=
# Listen: Allows you to bind Apache to specific IP addresses and/or=0A=
# ports, in addition to the default. See also the <VirtualHost>=0A=
# directive.=0A=
#=0A=
#Listen 3000=0A=
#Listen 12.34.56.78:80=0A=
=0A=
#=0A=
# BindAddress: You can support virtual hosts with this option. This =
directive=0A=
# is used to tell the server which IP address to listen to. It can either=0A=
# contain "*", an IP address, or a fully qualified Internet domain name.=0A=
# See also the <VirtualHost> and Listen directives.=0A=
#=0A=
#BindAddress *=0A=
=0A=
#=0A=
# Dynamic Shared Object (DSO) Support=0A=
#=0A=
# To be able to use the functionality of a module which was built as a =
DSO you=0A=
# have to place corresponding `LoadModule' lines at this location so the=0A=
# directives contained in it are actually available _before_ they are =
used.=0A=
# Please read the file README.DSO in the Apache 1.3 distribution for more=0A=
# details about the DSO mechanism and run `httpd -l' for the list of =
already=0A=
# built-in (statically linked and thus always available) modules in your =
httpd=0A=
# binary.=0A=
#=0A=
# Note: The order is which modules are loaded is important.  Don't change=0A=
# the order below without expert advice.=0A=
#=0A=
# Example:=0A=
# LoadModule foo_module libexec/mod_foo.so=0A=
=0A=
#=0A=
# ExtendedStatus controls whether Apache will generate "full" status=0A=
# information (ExtendedStatus On) or just basic information =
(ExtendedStatus=0A=
# Off) when the "server-status" handler is called. The default is Off.=0A=
#=0A=
#ExtendedStatus On=0A=
=0A=
### Section 2: 'Main' server configuration=0A=
#=0A=
# The directives in this section set up the values used by the 'main'=0A=
# server, which responds to any requests that aren't handled by a=0A=
# <VirtualHost> definition.  These values also provide defaults for=0A=
# any <VirtualHost> containers you may define later in the file.=0A=
#=0A=
# All of these directives may appear inside <VirtualHost> containers,=0A=
# in which case these default settings will be overridden for the=0A=
# virtual host being defined.=0A=
#=0A=
=0A=
#=0A=
# If your ServerType directive (set earlier in the 'Global Environment'=0A=
# section) is set to "inetd", the next few directives don't have any=0A=
# effect since their settings are defined by the inetd configuration.=0A=
# Skip ahead to the ServerAdmin directive.=0A=
#=0A=
=0A=
#=0A=
# Port: The port to which the standalone server listens. For=0A=
# ports < 1023, you will need httpd to be run as root initially.=0A=
#=0A=
Port 80=0A=
=0A=
#=0A=
# If you wish httpd to run as a different user or group, you must run=0A=
# httpd as root initially and it will switch.  =0A=
#=0A=
# User/Group: The name (or #number) of the user/group to run httpd as.=0A=
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".=0A=
#  . On HPUX you may not be able to use shared memory as nobody, and the=0A=
#    suggested workaround is to create a user www and use that user.=0A=
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)=0A=
#  when the value of (unsigned)Group is above 60000; =0A=
#  don't use Group nogroup on these systems!=0A=
#=0A=
User nobody=0A=
Group nogroup=0A=
=0A=
#=0A=
# ServerAdmin: Your address, where problems with the server should be=0A=
# e-mailed.  This address appears on some server-generated pages, such=0A=
# as error documents.=0A=
#=0A=
ServerAdmin root@d033.ml.uwcm.ac.uk=0A=
=0A=
#=0A=
# ServerName allows you to set a host name which is sent back to clients =
for=0A=
# your server if it's different than the one the program would get =
(i.e., use=0A=
# "www" instead of the host's real name).=0A=
#=0A=
# Note: You cannot just invent host names and hope they work. The name =
you =0A=
# define here must be a valid DNS name for your host. If you don't =
understand=0A=
# this, ask your network administrator.=0A=
# If your host doesn't have a registered DNS name, enter its IP address =
here.=0A=
# You will have to access it by its address (e.g., http://123.45.67.89/)=0A=
# anyway, and this will make redirections work in a sensible way.=0A=
#=0A=
ServerName d033.ml.uwcm.ac.uk=0A=
=0A=
#=0A=
# DocumentRoot: The directory out of which you will serve your=0A=
# documents. By default, all requests are taken from this directory, but=0A=
# symbolic links and aliases may be used to point to other locations.=0A=
#=0A=
DocumentRoot "/www/htdocs"=0A=
=0A=
#=0A=
# Each directory to which Apache has access, can be configured with =
respect=0A=
# to which services and features are allowed and/or disabled in that=0A=
# directory (and its subdirectories). =0A=
#=0A=
# First, we configure the "default" to be a very restrictive set of =0A=
# permissions.  =0A=
#=0A=
<Directory />=0A=
    Options FollowSymLinks=0A=
    AllowOverride None=0A=
</Directory>=0A=
=0A=
#=0A=
# Note that from this point forward you must specifically allow=0A=
# particular features to be enabled - so if something's not working as=0A=
# you might expect, make sure that you have specifically enabled it=0A=
# below.=0A=
#=0A=
=0A=
#=0A=
# This should be changed to whatever you set DocumentRoot to.=0A=
#=0A=
<Directory "/www/htdocs">=0A=
=0A=
#=0A=
# This may also be "None", "All", or any combination of "Indexes",=0A=
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".=0A=
#=0A=
# Note that "MultiViews" must be named *explicitly* --- "Options All"=0A=
# doesn't give it to you.=0A=
#=0A=
    Options Indexes FollowSymLinks=0A=
=0A=
#=0A=
# This controls which options the .htaccess files in directories can=0A=
# override. Can also be "All", or any combination of "Options", =
"FileInfo", =0A=
# "AuthConfig", and "Limit"=0A=
#=0A=
    AllowOverride None=0A=
=0A=
#=0A=
# Controls who can get stuff from this server.=0A=
#=0A=
    Order allow,deny=0A=
    Allow from all=0A=
</Directory>=0A=
=0A=
#=0A=
# UserDir: The name of the directory which is appended onto a user's home=0A=
# directory if a ~user request is received.=0A=
#=0A=
UserDir public_html=0A=
=0A=
#=0A=
# Control access to UserDir directories.  The following is an example=0A=
# for a site where these directories are restricted to read-only.=0A=
#=0A=
#<Directory /*/public_html>=0A=
#    AllowOverride FileInfo AuthConfig Limit=0A=
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec=0A=
#    <Limit GET POST OPTIONS PROPFIND>=0A=
#        Order allow,deny=0A=
#        Allow from all=0A=
#    </Limit>=0A=
#    <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>=0A=
#        Order deny,allow=0A=
#        Deny from all=0A=
#    </Limit>=0A=
#</Directory>=0A=
=0A=
#=0A=
# DirectoryIndex: Name of the file or files to use as a pre-written HTML=0A=
# directory index.  Separate multiple entries with spaces.=0A=
#=0A=
DirectoryIndex index.html=0A=
=0A=
#=0A=
# AccessFileName: The name of the file to look for in each directory=0A=
# for access control information.=0A=
#=0A=
AccessFileName .htaccess=0A=
=0A=
#=0A=
# The following lines prevent .htaccess files from being viewed by=0A=
# Web clients.  Since .htaccess files often contain authorization=0A=
# information, access is disallowed for security reasons.  Comment=0A=
# these lines out if you want Web visitors to see the contents of=0A=
# .htaccess files.  If you change the AccessFileName directive above,=0A=
# be sure to make the corresponding changes here.=0A=
#=0A=
<Files .htaccess>=0A=
    Order allow,deny=0A=
    Deny from all=0A=
</Files>=0A=
=0A=
#=0A=
# CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with =
each=0A=
# document that was negotiated on the basis of content. This asks proxy=0A=
# servers not to cache the document. Uncommenting the following line =
disables=0A=
# this behavior, and proxies will be allowed to cache the documents.=0A=
#=0A=
#CacheNegotiatedDocs=0A=
=0A=
#=0A=
# UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever=0A=
# Apache needs to construct a self-referencing URL (a URL that refers =
back=0A=
# to the server the response is coming from) it will use ServerName and=0A=
# Port to form a "canonical" name.  With this setting off, Apache will=0A=
# use the hostname:port that the client supplied, when possible.  This=0A=
# also affects SERVER_NAME and SERVER_PORT in CGI scripts.=0A=
#=0A=
UseCanonicalName On=0A=
=0A=
#=0A=
# TypesConfig describes where the mime.types file (or equivalent) is=0A=
# to be found.=0A=
#=0A=
TypesConfig /www/conf/mime.types=0A=
=0A=
#=0A=
# DefaultType is the default MIME type the server will use for a document=0A=
# if it cannot otherwise determine one, such as from filename extensions.=0A=
# If your server contains mostly text or HTML documents, "text/plain" is=0A=
# a good value.  If most of your content is binary, such as applications=0A=
# or images, you may want to use "application/octet-stream" instead to=0A=
# keep browsers from trying to display binary files as though they are=0A=
# text.=0A=
#=0A=
DefaultType text/plain=0A=
=0A=
#=0A=
# The mod_mime_magic module allows the server to use various hints from =
the=0A=
# contents of the file itself to determine its type.  The MIMEMagicFile=0A=
# directive tells the module where the hint definitions are located.=0A=
# mod_mime_magic is not part of the default server (you have to add=0A=
# it yourself with a LoadModule [see the DSO paragraph in the 'Global=0A=
# Environment' section], or recompile the server and include =
mod_mime_magic=0A=
# as part of the configuration), so it's enclosed in an <IfModule> =
container.=0A=
# This means that the MIMEMagicFile directive will only be processed if =
the=0A=
# module is part of the server.=0A=
#=0A=
<IfModule mod_mime_magic.c>=0A=
    MIMEMagicFile /www/conf/magic=0A=
</IfModule>=0A=
=0A=
#=0A=
# HostnameLookups: Log the names of clients or just their IP addresses=0A=
# e.g., www.apache.org (on) or 204.62.129.132 (off).=0A=
# The default is off because it'd be overall better for the net if people=0A=
# had to knowingly turn this feature on, since enabling it means that=0A=
# each client request will result in AT LEAST one lookup request to the=0A=
# nameserver.=0A=
#=0A=
HostnameLookups Off=0A=
=0A=
#=0A=
# ErrorLog: The location of the error log file.=0A=
# If you do not specify an ErrorLog directive within a <VirtualHost>=0A=
# container, error messages relating to that virtual host will be=0A=
# logged here.  If you *do* define an error logfile for a <VirtualHost>=0A=
# container, that host's errors will be logged there and not here.=0A=
#=0A=
ErrorLog /www/logs/error_log=0A=
=0A=
#=0A=
# LogLevel: Control the number of messages logged to the error_log.=0A=
# Possible values include: debug, info, notice, warn, error, crit,=0A=
# alert, emerg.=0A=
#=0A=
LogLevel warn=0A=
=0A=
#=0A=
# The following directives define some format nicknames for use with=0A=
# a CustomLog directive (see below).=0A=
#=0A=
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" =
combined=0A=
LogFormat "%h %l %u %t \"%r\" %>s %b" common=0A=
LogFormat "%{Referer}i -> %U" referer=0A=
LogFormat "%{User-agent}i" agent=0A=
=0A=
#=0A=
# The location and format of the access logfile (Common Logfile Format).=0A=
# If you do not define any access logfiles within a <VirtualHost>=0A=
# container, they will be logged here.  Contrariwise, if you *do*=0A=
# define per-<VirtualHost> access logfiles, transactions will be=0A=
# logged therein and *not* in this file.=0A=
#=0A=
CustomLog /www/logs/access_log common=0A=
=0A=
#=0A=
# If you would like to have agent and referer logfiles, uncomment the=0A=
# following directives.=0A=
#=0A=
CustomLog /www/logs/referer_log referer=0A=
CustomLog /www/logs/agent_log agent=0A=
=0A=
#=0A=
# If you prefer a single logfile with access, agent, and referer =
information=0A=
# (Combined Logfile Format) you can use the following directive.=0A=
#=0A=
CustomLog /www/logs/access_log combined=0A=
=0A=
#=0A=
# Optionally add a line containing the server version and virtual host=0A=
# name to server-generated pages (error documents, FTP directory =
listings,=0A=
# mod_status and mod_info output etc., but not CGI generated documents).=0A=
# Set to "EMail" to also include a mailto: link to the ServerAdmin.=0A=
# Set to one of:  On | Off | EMail=0A=
#=0A=
ServerSignature On=0A=
=0A=
#=0A=
# Aliases: Add here as many aliases as you need (with no limit). The =
format is =0A=
# Alias fakename realname=0A=
#=0A=
# Note that if you include a trailing / on fakename then the server will=0A=
# require it to be present in the URL.  So "/icons" isn't aliased in this=0A=
# example, only "/icons/"..=0A=
#=0A=
Alias /icons/ "/www/icons/"=0A=
=0A=
<Directory "/www/icons">=0A=
    Options Indexes MultiViews=0A=
    AllowOverride None=0A=
    Order allow,deny=0A=
    Allow from all=0A=
</Directory>=0A=
=0A=
#=0A=
# ScriptAlias: This controls which directories contain server scripts.=0A=
# ScriptAliases are essentially the same as Aliases, except that=0A=
# documents in the realname directory are treated as applications and=0A=
# run by the server when requested rather than as documents sent to the =
client.=0A=
# The same rules about trailing "/" apply to ScriptAlias directives as to=0A=
# Alias.=0A=
#=0A=
ScriptAlias /cgi-bin/ "/www/cgi-bin/"=0A=
ScriptAlias /Zope/ "/www/cgi-bin/Zope/"=0A=
=0A=
#=0A=
# "/www/cgi-bin" should be changed to whatever your ScriptAliased=0A=
# CGI directory exists, if you have that configured.=0A=
#=0A=
<Directory "/www/cgi-bin">=0A=
    AllowOverride none=0A=
    Options ExecCGI=0A=
    Order allow,deny=0A=
    Allow from all=0A=
</Directory>=0A=
=0A=
#=0A=
# Redirect allows you to tell clients about documents which used to =
exist in=0A=
# your server's namespace, but do not anymore. This allows you to tell =
the=0A=
# clients where to look for the relocated document.=0A=
# Format: Redirect old-URI new-URL=0A=
#=0A=
=0A=
#=0A=
# Directives controlling the display of server-generated directory =
listings.=0A=
#=0A=
=0A=
#=0A=
# FancyIndexing is whether you want fancy directory indexing or standard=0A=
#=0A=
IndexOptions FancyIndexing=0A=
=0A=
#=0A=
# AddIcon* directives tell the server which icon to show for different=0A=
# files or filename extensions.  These are only displayed for=0A=
# FancyIndexed directories.=0A=
#=0A=
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip=0A=
=0A=
AddIconByType (TXT,/icons/text.gif) text/*=0A=
AddIconByType (IMG,/icons/image2.gif) image/*=0A=
AddIconByType (SND,/icons/sound2.gif) audio/*=0A=
AddIconByType (VID,/icons/movie.gif) video/*=0A=
=0A=
AddIcon /icons/binary.gif .bin .exe=0A=
AddIcon /icons/binhex.gif .hqx=0A=
AddIcon /icons/tar.gif .tar=0A=
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv=0A=
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip=0A=
AddIcon /icons/a.gif .ps .ai .eps=0A=
AddIcon /icons/layout.gif .html .shtml .htm .pdf=0A=
AddIcon /icons/text.gif .txt=0A=
AddIcon /icons/c.gif .c=0A=
AddIcon /icons/p.gif .pl .py=0A=
AddIcon /icons/f.gif .for=0A=
AddIcon /icons/dvi.gif .dvi=0A=
AddIcon /icons/uuencoded.gif .uu=0A=
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl=0A=
AddIcon /icons/tex.gif .tex=0A=
AddIcon /icons/bomb.gif core=0A=
=0A=
AddIcon /icons/back.gif ..=0A=
AddIcon /icons/hand.right.gif README=0A=
AddIcon /icons/folder.gif ^^DIRECTORY^^=0A=
AddIcon /icons/blank.gif ^^BLANKICON^^=0A=
=0A=
#=0A=
# DefaultIcon is which icon to show for files which do not have an icon=0A=
# explicitly set.=0A=
#=0A=
DefaultIcon /icons/unknown.gif=0A=
=0A=
#=0A=
# AddDescription allows you to place a short description after a file in=0A=
# server-generated indexes.  These are only displayed for FancyIndexed=0A=
# directories.=0A=
# Format: AddDescription "description" filename=0A=
#=0A=
#AddDescription "GZIP compressed document" .gz=0A=
#AddDescription "tar archive" .tar=0A=
#AddDescription "GZIP compressed tar archive" .tgz=0A=
=0A=
#=0A=
# ReadmeName is the name of the README file the server will look for by=0A=
# default, and append to directory listings.=0A=
#=0A=
# HeaderName is the name of a file which should be prepended to=0A=
# directory indexes. =0A=
#=0A=
# The server will first look for name.html and include it if found.=0A=
# If name.html doesn't exist, the server will then look for name.txt=0A=
# and include it as plaintext if found.=0A=
#=0A=
ReadmeName README=0A=
HeaderName HEADER=0A=
=0A=
#=0A=
# IndexIgnore is a set of filenames which directory indexing should =
ignore=0A=
# and not include in the listing.  Shell-style wildcarding is permitted.=0A=
#=0A=
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t=0A=
=0A=
#=0A=
# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) =
uncompress=0A=
# information on the fly. Note: Not all browsers support this.=0A=
# Despite the name similarity, the following Add* directives have nothing=0A=
# to do with the FancyIndexing customization directives above.=0A=
#=0A=
AddEncoding x-compress Z=0A=
AddEncoding x-gzip gz=0A=
=0A=
#=0A=
# AddLanguage allows you to specify the language of a document. You can=0A=
# then use content negotiation to give a browser a file in a language=0A=
# it can understand.  Note that the suffix does not have to be the same=0A=
# as the language keyword --- those with documents in Polish (whose=0A=
# net-standard language code is pl) may wish to use "AddLanguage pl .po" =0A=
# to avoid the ambiguity with the common suffix for perl scripts.=0A=
#=0A=
AddLanguage en .en=0A=
AddLanguage fr .fr=0A=
AddLanguage de .de=0A=
AddLanguage da .da=0A=
AddLanguage el .el=0A=
AddLanguage it .it=0A=
=0A=
#=0A=
# LanguagePriority allows you to give precedence to some languages=0A=
# in case of a tie during content negotiation.=0A=
# Just list the languages in decreasing order of preference.=0A=
#=0A=
LanguagePriority en fr de=0A=
=0A=
#=0A=
# AddType allows you to tweak mime.types without actually editing it, or =
to=0A=
# make certain files to be certain types.=0A=
#=0A=
# For example, the PHP3 module (not part of the Apache distribution)=0A=
# will typically use:=0A=
#=0A=
AddType application/x-httpd-php3 .phtml .php3=0A=
AddType application/x-httpd-php3-source .phps=0A=
=0A=
#=0A=
# AddHandler allows you to map certain file extensions to "handlers",=0A=
# actions unrelated to filetype. These can be either built into the =
server=0A=
# or added with the Action command (see below)=0A=
#=0A=
# If you want to use server side includes, or CGI outside=0A=
# ScriptAliased directories, uncomment the following lines.=0A=
#=0A=
# To use CGI scripts:=0A=
#=0A=
AddHandler cgi-script .cgi=0A=
AddHandler cgi-script .pl=0A=
=0A=
#=0A=
# To use server-parsed HTML files=0A=
#=0A=
#AddType text/html .shtml=0A=
#AddHandler server-parsed .shtml=0A=
=0A=
#=0A=
# Uncomment the following line to enable Apache's send-asis HTTP file=0A=
# feature=0A=
#=0A=
#AddHandler send-as-is asis=0A=
=0A=
#=0A=
# If you wish to use server-parsed imagemap files, use=0A=
#=0A=
#AddHandler imap-file map=0A=
=0A=
#=0A=
# To enable type maps, you might want to use=0A=
#=0A=
#AddHandler type-map var=0A=
=0A=
#=0A=
# Action lets you define media types that will execute a script whenever=0A=
# a matching file is called. This eliminates the need for repeated URL=0A=
# pathnames for oft-used CGI file processors.=0A=
# Format: Action media/type /cgi-script/location=0A=
# Format: Action handler-name /cgi-script/location=0A=
#=0A=
=0A=
#=0A=
# MetaDir: specifies the name of the directory in which Apache can find=0A=
# meta information files. These files contain additional HTTP headers=0A=
# to include when sending the document=0A=
#=0A=
#MetaDir .web=0A=
=0A=
#=0A=
# MetaSuffix: specifies the file name suffix for the file containing the=0A=
# meta information.=0A=
#=0A=
#MetaSuffix .meta=0A=
=0A=
#=0A=
# Customizable error response (Apache style)=0A=
#  these come in three flavors=0A=
#=0A=
#    1) plain text=0A=
#ErrorDocument 500 "The server made a boo boo.=0A=
#  n.b.  the (") marks it as text, it does not get output=0A=
#=0A=
#    2) local redirects=0A=
#ErrorDocument 404 /missing.html=0A=
#  to redirect to local URL /missing.html=0A=
#ErrorDocument 404 /cgi-bin/missing_handler.pl=0A=
#  N.B.: You can redirect to a script or a document using =
server-side-includes.=0A=
#=0A=
#    3) external redirects=0A=
#ErrorDocument 402 http://some.other_server.com/subscription_info.html=0A=
#  N.B.: Many of the environment variables associated with the original=0A=
#  request will *not* be available to such a script.=0A=
=0A=
#=0A=
# The following directives modify normal HTTP response behavior.=0A=
# The first directive disables keepalive for Netscape 2.x and browsers =
that=0A=
# spoof it. There are known problems with these browser implementations.=0A=
# The second directive is for Microsoft Internet Explorer 4.0b2=0A=
# which has a broken HTTP/1.1 implementation and does not properly=0A=
# support keepalive when it is used on 301 or 302 (redirect) responses.=0A=
#=0A=
BrowserMatch "Mozilla/2" nokeepalive=0A=
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0=0A=
=0A=
#=0A=
# The following directive disables HTTP/1.1 responses to browsers which=0A=
# are in violation of the HTTP/1.0 spec by not being able to grok a=0A=
# basic 1.1 response.=0A=
#=0A=
BrowserMatch "RealPlayer 4\.0" force-response-1.0=0A=
BrowserMatch "Java/1\.0" force-response-1.0=0A=
BrowserMatch "JDK/1\.0" force-response-1.0=0A=
=0A=
#=0A=
# Allow server status reports, with the URL of =
http://servername/server-status=0A=
# Change the ".your_domain.com" to match your domain to enable.=0A=
#=0A=
#<Location /server-status>=0A=
#    SetHandler server-status=0A=
#    Order deny,allow=0A=
#    Deny from all=0A=
#    Allow from .your_domain.com=0A=
#</Location>=0A=
=0A=
#=0A=
# Allow remote server configuration reports, with the URL of=0A=
#  http://servername/server-info (requires that mod_info.c be loaded).=0A=
# Change the ".your_domain.com" to match your domain to enable.=0A=
#=0A=
#<Location /server-info>=0A=
#    SetHandler server-info=0A=
#    Order deny,allow=0A=
#    Deny from all=0A=
#    Allow from .your_domain.com=0A=
#</Location>=0A=
=0A=
#=0A=
# There have been reports of people trying to abuse an old bug from =
pre-1.1=0A=
# days.  This bug involved a CGI script distributed as a part of Apache.=0A=
# By uncommenting these lines you can redirect these attacks to a =
logging =0A=
# script on phf.apache.org.  Or, you can record them yourself, using the =
script=0A=
# support/phf_abuse_log.cgi.=0A=
#=0A=
#<Location /cgi-bin/phf*>=0A=
#    Deny from all=0A=
#    ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi=0A=
#</Location>=0A=
=0A=
#=0A=
# Proxy Server directives. Uncomment the following lines to=0A=
# enable the proxy server:=0A=
#=0A=
#<IfModule mod_proxy.c>=0A=
#ProxyRequests On=0A=
#=0A=
#<Directory proxy:*>=0A=
#    Order deny,allow=0A=
#    Deny from all=0A=
#    Allow from .your_domain.com=0A=
#</Directory>=0A=
=0A=
#=0A=
# Enable/disable the handling of HTTP/1.1 "Via:" headers.=0A=
# ("Full" adds the server version; "Block" removes all outgoing Via: =
headers)=0A=
# Set to one of: Off | On | Full | Block=0A=
#=0A=
#ProxyVia On=0A=
=0A=
#=0A=
# To enable the cache as well, edit and uncomment the following lines:=0A=
# (no cacheing without CacheRoot)=0A=
#=0A=
#CacheRoot "/www/proxy"=0A=
#CacheSize 5=0A=
#CacheGcInterval 4=0A=
#CacheMaxExpire 24=0A=
#CacheLastModifiedFactor 0.1=0A=
#CacheDefaultExpire 1=0A=
#NoCache a_domain.com another_domain.edu joes.garage_sale.com=0A=
=0A=
#</IfModule>=0A=
# End of proxy directives.=0A=
=0A=
### Section 3: Virtual Hosts=0A=
#=0A=
# VirtualHost: If you want to maintain multiple domains/hostnames on your=0A=
# machine you can setup VirtualHost containers for them.=0A=
# Please see the documentation at =
<URL:http://www.apache.org/docs/vhosts/>=0A=
# for further details before you try to setup virtual hosts.=0A=
# You may use the command line option '-S' to verify your virtual host=0A=
# configuration.=0A=
=0A=
#=0A=
# If you want to use name-based virtual hosts you need to define at=0A=
# least one IP address (and port number) for them.=0A=
#=0A=
#NameVirtualHost 12.34.56.78:80=0A=
NameVirtualHost 193.63.119.119=0A=
=0A=
#=0A=
# VirtualHost example:=0A=
# Almost any Apache directive may go into a VirtualHost container.=0A=
#=0A=
#<VirtualHost ip.address.of.host.some_domain.com>=0A=
#    ServerAdmin webmaster@host.some_domain.com=0A=
#    DocumentRoot /www/docs/host.some_domain.com=0A=
#    ServerName host.some_domain.com=0A=
#    ErrorLog logs/host.some_domain.com-error_log=0A=
#    CustomLog logs/host.some_domain.com-access_log common=0A=
#</VirtualHost>=0A=
=0A=
<VirtualHost 193.63.119.119>=0A=
    ServerAdmin webmaster@d033.ml.uwcm.ac.uk=0A=
    ServerName d033.ml.uwcm.ac.uk=0A=
    ErrorLog logs/d033.ml.uwcm.ac.uk-error_log=0A=
    CustomLog logs/d033.ml.uwcm.ac.uk-access_log common=0A=
    RewriteEngine on=0A=
    RewriteCond %{HTTP:Authorization} ^(.*)=0A=
    RewriteRule ^/z/(.*) /www/cgi-bin/Zope.cgi/$1 =
[last,E=3DHTTP_CGI_AUTHORIZATION:%1,T=3Dapplication/x-httpd-cgi,L]=0A=
</VirtualHost>=0A=
<VirtualHost 193.63.119.119>=0A=
    ServerAdmin webmaster@d033.ml.uwcm.ac.uk=0A=
    ServerName z.realdns.com=0A=
    ErrorLog logs/z.realdns.com-error_log=0A=
    CustomLog logs/z.realdns.com-access_log common=0A=
    RewriteEngine on=0A=
    RewriteCond %{HTTP:Authorization} ^(.*)=0A=
    RewriteRule ^/(.*) /www/cgi-bin/Zope.cgi/$1 =
[last,E=3DHTTP_CGI_AUTHORIZATION:%1,T=3Dapplication/x-httpd-cgi,L]=0A=
</VirtualHost>=0A=
=0A=
CheckSpelling on=0A=
=0A=

------=_NextPart_000_00C9_01BE63FC.BBD35410--