apache vhosts

apache vhosts

am 19.04.2004 06:27:52 von Linux Nick

------=_NextPart_000_0017_01C425A5.27C32AF0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0018_01C425A5.27C32AF0"


------=_NextPart_001_0018_01C425A5.27C32AF0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Can someone tell me what im doing wrong here and why nothing works? Ive
tried googling and apparently there are a lot of ways to do vhost, ive tried
just about all of them with no success. I want to host 2 sites, one secure
and the other not secure, ATM nothing works. Ill attach the entire config as
well.



TIA



Nick



VHOSTS:





#Test Virtual Host Config



NameVirtualHost 68.59.247.15



#Secure Site ComputerNick.com



SSLEnable

ServerAdmin webmaster@computernick.com

DocumentRoot /var/www/computernick.secure

ServerName ssl.computernick.com

ServerAlias ssl.computernick.com

ErrorLog /var/log/apache-ssl/computernick.secure.error.log

# CustomLog logs/host.some_domain.com-access.log common





#Unsecure Site ComputerNick.com



SSLDisable

Port 80

ServerAdmin webmaster@computernick.com

DocumentRoot /var/www/computernick.unsecure

TransferLog /var/log/apache-ssl/computernick.unsecure.access.log

ServerName www.computernick.com

ServerAlias www.computernick.com

ErrorLog /var/log/apache-ssl/computernick.unsecure.error.log

# CustomLog logs/host.some_domain.com-access.log common








------=_NextPart_001_0018_01C425A5.27C32AF0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:10.0pt;
font-family:Arial'>Can someone tell me what im doing wrong here and why =
nothing
works? Ive tried googling and apparently there are a lot of ways to do =
vhost,
ive tried just about all of them with no success. I want to host 2 =
sites, one
secure and the other not secure, ATM nothing works. Ill attach the =
entire
config as well.



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>TIA



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>Nick



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>VHOSTS:



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>#Test Virtual Host =
Config



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>NameVirtualHost =
68.59.247.15



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>#Secure Site =
ComputerNick.com



style=3D'font-size:10.0pt;
font-family:Arial'><VirtualHost =
68.59.247.15>



style=3D'font-size:10.0pt;
font-family:Arial'>SSLEnable



style=3D'font-size:10.0pt;
font-family:Arial'>    ServerAdmin =
webmaster@computernick.com



style=3D'font-size:10.0pt;
font-family:Arial'>    DocumentRoot =
/var/www/computernick.secure



style=3D'font-size:10.0pt;
font-family:Arial'>    ServerName =
ssl.computernick.com



style=3D'font-size:10.0pt;
font-family:Arial'>    ServerAlias =
ssl.computernick.com



style=3D'font-size:10.0pt;
font-family:Arial'>    ErrorLog
/var/log/apache-ssl/computernick.secure.error.log
>



style=3D'font-size:10.0pt;
font-family:Arial'>#    CustomLog =
logs/host.some_domain.com-access.log common



style=3D'font-size:10.0pt;
font-family:Arial'></VirtualHost>



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>#Unsecure Site =
ComputerNick.com



style=3D'font-size:10.0pt;
font-family:Arial'><VirtualHost =
68.59.247.15>



style=3D'font-size:10.0pt;
font-family:Arial'>SSLDisable



style=3D'font-size:10.0pt;
font-family:Arial'>Port 80



style=3D'font-size:10.0pt;
font-family:Arial'>    ServerAdmin =
webmaster@computernick.com



style=3D'font-size:10.0pt;
font-family:Arial'>    DocumentRoot =
/var/www/computernick.unsecure



style=3D'font-size:10.0pt;
font-family:Arial'>    TransferLog
/var/log/apache-ssl/computernick.unsecure.access.log
ont>



style=3D'font-size:10.0pt;
font-family:Arial'>    ServerName =
www.computernick.com



style=3D'font-size:10.0pt;
font-family:Arial'>    ServerAlias =
www.computernick.com



style=3D'font-size:10.0pt;
font-family:Arial'>    ErrorLog
/var/log/apache-ssl/computernick.unsecure.error.log
nt>



style=3D'font-size:10.0pt;
font-family:Arial'>#    CustomLog =
logs/host.some_domain.com-access.log common



style=3D'font-size:10.0pt;
font-family:Arial'></VirtualHost>



style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:.5in'> style=3D'font-size:
12.0pt'> 



style=3D'font-size:
12.0pt'> 









------=_NextPart_001_0018_01C425A5.27C32AF0--

------=_NextPart_000_0017_01C425A5.27C32AF0
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 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=
# /etc/apache-ssl/srm.conf and then /etc/apache-ssl/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=
# SSL Servers MUST be standalone, currently.=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, unless they are specified=0A=
# with an absolute path.=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 );=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 /etc/apache-ssl=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 /var/lock/apache.lock=0A=
=0A=
#=0A=
# PidFile: The file in which the server should record its process=0A=
# identification number when it starts.=0A=
#=0A=
PidFile /var/run/apache-ssl.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 /var/run/apache-ssl.scoreboard=0A=
=0A=
#=0A=
# In the standard configuration, the server will process this file,=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 /etc/apache-ssl/srm.conf=0A=
#AccessConfig /etc/apache-ssl/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 are probably OK 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. For these platforms, set to something like 10000=0A=
# or so; a setting of 0 means unlimited.=0A=
#=0A=
# NOTE: This value does not include keepalive requests after the initial=0A=
# request per connection. For example, if a child process handles=0A=
# an initial request and 10 subsequent "keptalive" requests, it=0A=
# would only count as 1 request towards this limit.=0A=
#=0A=
MaxRequestsPerChild 100=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 =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 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 `apache -l' for the list of =
already=0A=
# built-in (statically linked and thus always available) modules in your =
apache=0A=
# binary.=0A=
#=0A=
# Please keep this LoadModule: line here, it is needed for installation.=0A=
LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so=0A=
# LoadModule env_module /usr/lib/apache/1.3/mod_env.so=0A=
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config_ssl.so=0A=
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so=0A=
LoadModule mime_module /usr/lib/apache/1.3/mod_mime_ssl.so=0A=
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so=0A=
LoadModule status_module /usr/lib/apache/1.3/mod_status.so=0A=
LoadModule info_module /usr/lib/apache/1.3/mod_info.so=0A=
# LoadModule includes_module /usr/lib/apache/1.3/mod_include.so=0A=
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so=0A=
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so=0A=
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so=0A=
# LoadModule asis_module /usr/lib/apache/1.3/mod_asis.so=0A=
# LoadModule imap_module /usr/lib/apache/1.3/mod_imap.so=0A=
# LoadModule action_module /usr/lib/apache/1.3/mod_actions.so=0A=
# LoadModule speling_module /usr/lib/apache/1.3/mod_speling.so=0A=
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so=0A=
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so=0A=
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so=0A=
LoadModule access_module /usr/lib/apache/1.3/mod_access.so=0A=
LoadModule auth_module /usr/lib/apache/1.3/mod_auth_ssl.so=0A=
# LoadModule anon_auth_module /usr/lib/apache/1.3/mod_auth_anon.so=0A=
# LoadModule dbm_auth_module /usr/lib/apache/1.3/mod_auth_dbm.so=0A=
# LoadModule db_auth_module /usr/lib/apache/1.3/mod_auth_db.so=0A=
# LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so=0A=
# LoadModule digest_module /usr/lib/apache/1.3/mod_digest.so=0A=
# LoadModule cern_meta_module /usr/lib/apache/1.3/mod_cern_meta.so=0A=
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so=0A=
# LoadModule headers_module /usr/lib/apache/1.3/mod_headers.so=0A=
# LoadModule usertrack_module /usr/lib/apache/1.3/mod_usertrack.so=0A=
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so=0A=
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so=0A=
# LoadModule sys_auth_module /usr/lib/apache/1.3/mod_auth_sys.so=0A=
# LoadModule put_module /usr/lib/apache/1.3/mod_put.so=0A=
# LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so=0A=
LoadModule apache_ssl_module /usr/lib/apache/1.3/libssl.so=0A=
# LoadModule allowdev_module /usr/lib/apache/1.3/mod_allowdev.so=0A=
# LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so=0A=
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so=0A=
# LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.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=
# definition. These values also provide defaults for=0A=
# any containers you may define later in the file.=0A=
#=0A=
# All of these directives may appear inside 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 apache to be run as root initially.=0A=
#=0A=
# The default port for SSL is 443...=0A=
=0A=
Port 443=0A=
#Port 80=0A=
=0A=
#=0A=
# If you wish apache to run as a different user or group, you must run=0A=
# apacheas root initially and it will switch. =0A=
#=0A=
# User/Group: The name (or #number) of the user/group to run apache 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 nobody on these systems!=0A=
#=0A=
User www-data=0A=
Group www-data=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 webmaster@computernick.com=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 www.computernick.com=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 /var/www=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=
=0A=
Options SymLinksIfOwnerMatch=0A=
AllowOverride None=0A=
=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=
=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 Includes FollowSymLinks MultiViews=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=
=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=
=0A=
UserDir public_html=0A=
=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=
=0A=
AllowOverride FileInfo AuthConfig Limit=0A=
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec=0A=
=0A=
Order allow,deny=0A=
Allow from all=0A=
=0A=
=0A=
Order deny,allow=0A=
Deny from all=0A=
=0A=
=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=
=0A=
DirectoryIndex index.html index.htm index.shtml index.cgi index.php=0A=
=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=
# Also, folks tend to use names such as .htpasswd for password=0A=
# files, so this will protect those as well.=0A=
#=0A=
=0A=
Order allow,deny=0A=
Deny from all=0A=
=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 /etc/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 =
container.=0A=
# This means that the MIMEMagicFile directive will only be processed if =
the=0A=
# module is part of the server.=0A=
#=0A=
=0A=
MIMEMagicFile share/magic=0A=
=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=
# Note that Log files are now rotated by logrotate, not by apache itself.=0A=
# This means that apache no longer attempts to magically determine=0A=
# where your log files are kept; you have to fill out stanzas in=0A=
# /etc/logrotate.d/apache-ssl yourself.=0A=
=0A=
#=0A=
# ErrorLog: The location of the error log file.=0A=
# If you do not specify an ErrorLog directive within a =0A=
# container, error messages relating to that virtual host will be=0A=
# logged here. If you *do* define an error logfile for a =0A=
# container, that host's errors will be logged there and not here.=0A=
#=0A=
ErrorLog /var/log/apache-ssl/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\" =
%T %v" full=0A=
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" =
%P %T" debug=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 =0A=
# container, they will be logged here. Contrariwise, if you *do*=0A=
# define per- access logfiles, transactions will be=0A=
# logged therein and *not* in this file.=0A=
#=0A=
#CustomLog /var/log/apache-ssl/access.log common=0A=
=0A=
#=0A=
# If you would like to have agent and referer logfiles, uncomment the=0A=
# following directives.=0A=
#=0A=
#CustomLog /var/log/apache-ssl/referer.log referer=0A=
#CustomLog /var/log/apache-ssl/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 /var/log/apache-ssl/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=
=0A=
Alias /icons/ /usr/share/apache/icons/=0A=
=0A=
=0A=
Options Indexes MultiViews=0A=
AllowOverride None=0A=
Order allow,deny=0A=
Allow from all=0A=
=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/ /usr/lib/cgi-bin/=0A=
=0A=
#=0A=
# "/usr/lib/cgi-bin" could be changed to whatever your ScriptAliased=0A=
# CGI directory exists, if you have that configured.=0A=
#=0A=
=0A=
AllowOverride None=0A=
Options ExecCGI=0A=
Order allow,deny=0A=
Allow from all=0A=
=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=
=0A=
#=0A=
# FancyIndexing: whether you want fancy directory indexing or =
standard=0A=
#=0A=
IndexOptions FancyIndexing NameWidth=3D*=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=
AddIcon /icons/deb.gif .deb=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: 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: the name of the README file the server will look for by=0A=
# default, and append to directory listings.=0A=
#=0A=
# HeaderName: 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: 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=
=0A=
#=0A=
# Document types.=0A=
#=0A=
=0A=
=0A=
# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+)=0A=
# uncompress information on the fly. Note: Not all browsers support=0A=
# this. Despite the name similarity, the following Add* directives=0A=
# have nothing to do with the FancyIndexing customization=0A=
# directives above.=0A=
=0A=
AddEncoding x-compress Z=0A=
AddEncoding x-gzip gz tgz=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.=0A=
#=0A=
# Note 1: The suffix does not have to be the same as the language=0A=
# keyword --- those with documents in Polish (whose net-standard=0A=
# language code is pl) may wish to use "AddLanguage pl .po" to=0A=
# avoid the ambiguity with the common suffix for perl scripts.=0A=
#=0A=
# Note 2: The example entries below illustrate that in quite=0A=
# some cases the two character 'Language' abbriviation is not=0A=
# identical to the two character 'Country' code for its country,=0A=
# E.g. 'Danmark/dk' versus 'Danish/da'.=0A=
#=0A=
# Note 3: In the case of 'ltz' we violate the RFC by using a three =
char=0A=
# specifier. But there is 'work in progress' to fix this and get=0A=
# the reference data for rfc1766 cleaned up.=0A=
#=0A=
# Danish (da) - Dutch (nl) - English (en) - Estonian (ee)=0A=
# French (fr) - German (de) - Greek-Modern (el)=0A=
# Italian (it) - Portugese (pt) - Luxembourgeois* (ltz)=0A=
# Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)=0A=
# Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)=0A=
#=0A=
AddLanguage da .dk=0A=
AddLanguage nl .nl=0A=
AddLanguage en .en=0A=
AddLanguage et .ee=0A=
AddLanguage fr .fr=0A=
AddLanguage de .de=0A=
AddLanguage el .el=0A=
AddLanguage it .it=0A=
AddLanguage ja .ja=0A=
AddCharset ISO-2022-JP .jis=0A=
AddLanguage pl .po=0A=
AddCharset ISO-8859-2 .iso-pl=0A=
AddLanguage pt .pt=0A=
AddLanguage pt-br .pt-br=0A=
AddLanguage ltz .lu=0A=
AddLanguage ca .ca=0A=
AddLanguage es .es=0A=
AddLanguage sv .se=0A=
AddLanguage cz .cz=0A=
=0A=
# LanguagePriority: allows you to give precedence to some languages=0A=
# in case of a tie during content negotiation.=0A=
#=0A=
# Just list the languages in decreasing order of preference. We have=0A=
# more or less alphabetized them here. You probably want to change=0A=
# this.=0A=
#=0A=
=0A=
LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz ca =
es sv=0A=
=0A=
=0A=
#=0A=
# AddType allows you to tweak mime.types without actually editing=0A=
# it, or to make certain files to be certain types.=0A=
#=0A=
# For example, the PHP 3.x module (not part of the Apache=0A=
# distribution - see http://www.php.net) will typically use:=0A=
#=0A=
#AddType application/x-httpd-php3 .php3=0A=
#AddType application/x-httpd-php3-source .phps=0A=
#=0A=
# And for PHP 4.x, use:=0A=
#=0A=
AddType application/x-httpd-php .php=0A=
#AddType application/x-httpd-php-source .phps=0A=
=0A=
AddType application/x-x509-ca-cert .crt=0A=
AddType application/x-pkcs7-crl .crl=0A=
=0A=
AddType application/x-tar .tgz=0A=
AddType image/bmp .bmp=0A=
=0A=
# hdml=0A=
AddType text/x-hdml .hdml=0A=
=0A=
#=0A=
# AddHandler allows you to map certain file extensions to "handlers",=0A=
# actions unrelated to filetype. These can be either built into=0A=
# the server 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 .sh .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=0A=
# file 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=
# End of document types.=0A=
=0A=
# Default charset to iso-8859-1 =
(ttp://www.apache.org/info/css-security/).=0A=
=0A=
AddDefaultCharset on=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=
#=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=
=0A=
# If the perl module is installed, this will be enabled.=0A=
=0A=
Alias /perl/ /var/www/perl/=0A=
=0A=
SetHandler perl-script=0A=
PerlHandler Apache::Registry=0A=
Options +ExecCGI=0A=
=0A=
=0A=
=0A=
#=0A=
# Allow http put (such as Netscape Gold's publish feature)=0A=
# Use htpasswd to generate /etc/apache/passwd.=0A=
# You must unremark these two lines at the top of this file as well:=0A=
#LoadModule put_module modules/mod_put.so=0A=
#=0A=
#Alias /upload /tmp=0A=
#=0A=
# EnablePut On=0A=
# AuthType Basic=0A=
# AuthName Temporary=0A=
# AuthUserFile /etc/apache/passwd=0A=
# EnableDelete Off=0A=
# umask 007=0A=
# =0A=
# require valid-user=0A=
#
=0A=
#
=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=
=0A=
SetHandler server-status=0A=
Order allow,deny=0A=
Allow from all=0A=
# Allow from .your_domain.com=0A=
=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=
=0A=
SetHandler server-info=0A=
Order allow,deny=0A=
Allow from all=0A=
# Allow from .your_domain.com=0A=
=0A=
=0A=
# Allow access to local system documentation from localhost.=0A=
# (Debian Policy assumes /usr/share/doc is "/doc/", at least from the =
localhost.)=0A=
Alias /doc/ /usr/share/doc/=0A=
=0A=
=0A=
order allow,deny=0A=
allow from all=0A=
# allow from 127.0.0.0/255.0.0.0=0A=
Options Indexes FollowSymLinks MultiViews=0A=
=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=
#=0A=
# Deny from all=0A=
# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi=0A=
#
=0A=
=0A=
=0A=
#=0A=
# Proxy Server directives. Uncomment the following lines to=0A=
# enable the proxy server:=0A=
#=0A=
#=0A=
#ProxyRequests On=0A=
#=0A=
#=0A=
# Order deny,allow=0A=
# Deny from all=0A=
# Allow from .your_domain.com=0A=
#
=0A=
=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 "/var/cache/apache"=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=
#
=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 =
=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 12.34.56.78=0A=
=0A=
#=0A=
# VirtualHost example:=0A=
# Almost any Apache directive may go into a VirtualHost container.=0A=
#=0A=
#=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=
#
=0A=
=0A=
#=0A=
#
=0A=
=0A=
Include /etc/squirrelmail/apache.conf=0A=
Include /etc/phpmyadmin/apache.conf=0A=
=0A=
=0A=
# ----------------------------SSL----------------------------- -----=0A=
# This is an example configuration file for Apache-SSL.=0A=
# Copyright (C) 1995,6,7 Ben Laurie=0A=
=0A=
# By popular demand, this file now illustrates the way to create two =
websites,=0A=
# one secured (on port 8887), the other not (on port 8888).=0A=
=0A=
# You may need one of thse=0A=
#User webuser=0A=
#User ben=0A=
#Group group=0A=
=0A=
# SSL Servers MUST be standalone, currently.=0A=
ServerType standalone=0A=
=0A=
# The default port for SSL is 443...=0A=
#Port 8887=0A=
#Listen ServerPort=0A=
Listen 443=0A=
Listen 80=0A=
=0A=
# My test document root=0A=
#DocumentRoot /u/ben/www/1/docs=0A=
#DocumentRoot /u/ben/apache/apache_1.3.0-ssl/htdocs=0A=
=0A=
#=0A=
# This directive forbids access except when SSL is in use. Very handy for=0A=
# defending against configuration errors that expose stuff that should be=0A=
# protected=0A=
#SSLRequireSSL=0A=
#
=0A=
=0A=
# Watch what's going on=0A=
#TransferLog /var/log/apache-ssl/transfer.log=0A=
=0A=
# Note that all SSL options can apply to virtual hosts.=0A=
=0A=
# Disable SSL. Useful in combination with virtual hosts. Note that =
SSLEnable is=0A=
# now also supported.=0A=
#SSLEnable=0A=
=0A=
# Set the path for the global cache server executable.=0A=
# If this facility gives you trouble, you can disable it by setting=0A=
# CACHE_SESSIONS to FALSE in apache_ssl.c=0A=
SSLCacheServerPath /usr/lib/apache-ssl/gcache=0A=
=0A=
# Set the global cache server port number, or path. If it is a path, a =
Unix=0A=
# domain socket is used. If a number, a TCP socket.=0A=
SSLCacheServerPort /var/run/gcache_port=0A=
#SSLCacheServerPort 1234=0A=
=0A=
# Set the session cache timeout, in seconds (set to 15 for testing, use a=0A=
# higher value in real life)=0A=
SSLSessionCacheTimeout 1800=0A=
=0A=
#SSLPassPhraseDialog builtin=0A=
#SSLMutex sem=0A=
#SSLRandomSeed startup builtin=0A=
#SSLRandomSeed connect builtin=0A=
=0A=
# Set the CA certificate verification path (must be PEM encoded).=0A=
# (in addition to getenv("SSL_CERT_DIR"), I think).=0A=
#SSLCACertificatePath /u/ben/apache/apache_1.2.5-ssl/SSLconf/conf=0A=
SSLCACertificatePath /etc/apache-ssl=0A=
=0A=
# Set the CA certificate verification file (must be PEM encoded).=0A=
# (in addition to getenv("SSL_CERT_FILE"), I think).=0A=
#SSLCACertificateFile /some/where/somefile=0A=
#SSLCACertificateFile =
/u/ben/apache/apache_1.2.5-ssl/SSLconf/conf/httpsd.pem=0A=
#SSLCACerticicateFile /etc/apache-ssl/computernickCA.crt=0A=
=0A=
# Point SSLCertificateFile at a PEM encoded certificate.=0A=
# If the certificate is encrypted, then you will be prompted for a pass =
phrase.=0A=
# Note that a kill -1 will prompt again.=0A=
# A test certificate can be generated with "make certificate".=0A=
SSLCertificateFile /etc/apache-ssl/apache.pem=0A=
#SSLCertificateFile /etc/apache-ssl/server.csr=0A=
#SSLCertificateFile /etc/apache-ssl/www.computernick.com.csr=0A=
#SSLCertificateFile /u/ben/apache/apache_1.2.6-ssl/SSLconf/conf/t1.pem=0A=
=0A=
=0A=
# If the key is not combined with the certificate, use this directive to=0A=
# point at the key file. If this starts with a '/' it specifies an =
absolute=0A=
# path, otherwise it is relative to the default certificate area. That =
is, it=0A=
# means "/private/".=0A=
#SSLCertificateKeyFile /etc/apache-ssl/www.computernick.com.key=0A=
#SSLCertificateKeyFile /etc/apache-ssl/server.key=0A=
=0A=
# Set SSLVerifyClient to:=0A=
# 0 if no certicate is required=0A=
# 1 if the client may present a valid certificate=0A=
# 2 if the client must present a valid certificate=0A=
# 3 if the client may present a valid certificate but it is not required =
to=0A=
# have a valid CA=0A=
SSLVerifyClient require=0A=
# How deeply to verify before deciding they don't have a valid =
certificate=0A=
SSLVerifyDepth 1=0A=
=0A=
# Translate the client X509 into a Basic authorisation. This means that =
the=0A=
# standard Auth/DBMAuth methods can be used for access control. The user =
name=0A=
# is the "one line" version of the client's X509 certificate. Note that =
no=0A=
# password is obtained from the user. Every entry in the user file needs =
this=0A=
# password: xxj31ZMTZzkVA. See the code for further explanation.=0A=
SSLFakeBasicAuth=0A=
=0A=
# List the ciphers that the client is permitted to negotiate. See the =
source=0A=
# for a definitive list. For example:=0A=
#SSLRequiredCiphers RC4-MD5:RC4-SHA:IDEA-CBC-MD5:DES-CBC3-SHA=0A=
=0A=
# These two can be used per-directory to require or ban ciphers. Note =
that (at=0A=
# least in the current version) Apache-SSL will not attempt to =
renegotiate if a=0A=
# cipher is banned (or not required).=0A=
#SSLRequireCipher=0A=
#SSLBanCipher=0A=
=0A=
# A home for miscellaneous rubbish generated by SSL. Much of it is =
duplicated=0A=
# in the error log file. Put this somewhere where it cannot be used for =
symlink=0A=
# attacks on a real server (i.e. somewhere where only root can write).=0A=
#SSLLogFile /var/log/ssl.log=0A=
#SSLLogLevel error=0A=
=0A=
# Custom logging=0A=
CustomLog /var/log/apache-ssl/ssl.log "%t %{version}c %{cipher}c =
%{clientcert}c"=0A=
=0A=
#=0A=
#SSLDisable=0A=
#SSLEnable=0A=
#
=0A=
=0A=
# If you want, you can disable SSL globally, and enable it in a virtual =
host...=0A=
#=0A=
#SSLEnable=0A=
# and the rest of the SSL stuf...=0A=
#
=0A=
=0A=
# Experiment with authorization...=0A=
#=0A=
#AuthType Basic=0A=
#AuthName Experimental=0A=
#AuthGroupFile /dev/null=0A=
#AuthUserFile /u/ben/www/1/users=0A=
#=0A=
#allow from all=0A=
#require valid-user=0A=
#
=0A=
#
=0A=
=0A=
#ScriptAlias /scripts /u/ben/www/scripts=0A=
=0A=
#=0A=
#SSLEnable=0A=
#
=0A=
=0A=
=0A=
=0A=
#Test Virtual Host Config=0A=
=0A=
NameVirtualHost 68.59.247.15=0A=
#NameVirtualHost www.computernick.com:80=0A=
=0A=
#=0A=
# Options None=0A=
# AllowOverride None=0A=
# Deny from all=0A=
# ErrorLog /dev/null=0A=
#
=0A=
=0A=
#Secure Site ComputerNick.com=0A=
=0A=
SSLEnable=0A=
ServerAdmin webmaster@computernick.com=0A=
DocumentRoot /var/www/computernick.secure=0A=
ServerName ssl.computernick.com=0A=
ServerAlias ssl.computernick.com=0A=
ErrorLog /var/log/apache-ssl/computernick.secure.error.log=0A=
# CustomLog logs/host.some_domain.com-access.log common=0A=
=0A=
=0A=
#Unsecure Site ComputerNick.com=0A=
=0A=
SSLDisable=0A=
Port 80=0A=
ServerAdmin webmaster@computernick.com=0A=
DocumentRoot /var/www/computernick.unsecure=0A=
TransferLog /var/log/apache-ssl/computernick.unsecure.access.log=0A=
ServerName www.computernick.com=0A=
ServerAlias www.computernick.com=0A=
ErrorLog /var/log/apache-ssl/computernick.unsecure.error.log=0A=
# CustomLog logs/host.some_domain.com-access.log common=0A=
=0A=
=0A=
=0A=


------=_NextPart_000_0017_01C425A5.27C32AF0
Content-Type: text/plain; charset=us-ascii

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
------=_NextPart_000_0017_01C425A5.27C32AF0--