VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:443 email.machturtle.com (/etc/apache2/vhosts.d/05_email.machturtle.conf:35) *:80 is a NameVirtualHost default server www.machturtle.com (/etc/apache2/vhosts.d/00_default_vhost.conf:41) port 80 namevhost www.machturtle.com (/etc/apache2/vhosts.d/00_default_vhost.conf:41) port 80 namevhost mail.machturtle.com (/etc/apache2/vhosts.d/01_mail.machturtle.com.conf:3) port 80 namevhost g3.machturtle.com (/etc/apache2/vhosts.d/02_g3.machturtle.com.conf:35) port 80 namevhost dcorbin.com (/etc/apache2/vhosts.d/03_dcorbin.com.conf:3) port 80 namevhost www.dcorbin.com (/etc/apache2/vhosts.d/04_www.dcorbin.com.conf:35) port 80 namevhost www.machturtle.com (/etc/apache2/vhosts.d/99_default_vhost.conf:40) Syntax OK ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # # # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log # CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common # # # The First Virtual Host is also your DEFAULT Virtual Host. # This means any requests that do not match any other vhosts will # goto this virtual host. # # # 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. # ServerName "email.machturtle.com" DocumentRoot "/var/www/email.machturtle.com/htdocs" SSLCertificateFile /etc/apache2/ssl/email.machturtle.com.crt SSLCertificateKeyFile /etc/apache2/ssl/email.machturtle.com.key SSLCertificateChainFile /etc/apache2/ssl/ca.crt SSLCertificateFile /etc/apache2/ssl/ca.crt ErrorLog /var/log/apache2/email.machturtle.com/error_log CustomLog /var/log/apache2/email.machturtle.com/access_log common # # This should be changed to whatever you set DocumentRoot to. # # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs-2.0/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all ### # NOTE: The following sections are strictly optional. Please read # and follow carefully all the instructions before uncommenting # any lines. Examples shown below are for Apache 2.0.x ONLY. ### ### # INSTRUCTIONS: # # If you would like to require authentication to access AWStats, # then uncomment ONE of the example Directory sections below. # # NOTE: Related AWStats configuration directives are: # #AllowAccessFromWebToAuthenticatedUsersOnly=1 #AllowAccessFromWebToFollowingAuthenticatedUsers="dcorbin" # # You can use these to set a per-domain user access when needed # for virtual hosting. That means: only the selected user(s) will have # access to stats for the particular domain. All other users # will not be allowed to see the domain stats even though they # have authenticated successfully. ### ### # SECTION I - Basic Authentication # # The following example requires mod_auth to work. # You need to uncomment the following line in apache2.conf # and restart Apache to get the module loaded: # # LoadModule auth_module modules/mod_auth.so # # Add your AWStats users to /etc/awstats/.htpasswd file. # Please see 'man htpasswd2' for more details if you need. # # htpasswd2 -c /etc/awstats/.htpasswd username1 # htpasswd2 /etc/awstats/.htpasswd username2 # etc... ### Options None AllowOverride None Order allow,deny Allow from all AuthType Basic AuthName "AWStats authenticated zone" AuthUserFile /etc/awstats/.htpasswd Require valid-user ### # SECTION II - Digest Authentication # # The following example requires mod_auth_digest to work. # You need to uncomment the following line in apache2.conf # and restart Apache to get the module loaded: # # LoadModule auth_digest_module modules/mod_auth_digest.so # # Do not forget to replace www.example.com as appropriate. You can also add # as many domains as you need to this line. # # Add your AWStats users to /etc/awstats/.htdigest file. Please see # 'man htdigest2' and http://httpd.apache.org/docs-2.0/mod/mod_auth_digest.html # for more details if you need. # # htdigest2 -c /etc/awstats/.htdigest "AWStats authenticated zone" username1 # htdigest2 /etc/awstats/.htdigest "AWStats authenticated zone" username2 # etc... ### # # # Options None # AllowOverride None # Order allow,deny # Allow from all # AuthType Digest # AuthName "AWStats authenticated zone" # AuthDigestFile /etc/awstats/.htdigest # AuthDigestDomain http://www.example.com https://www.example.com # require valid-user # # The following line is REQUIRED to work around a bug in MSIE. # # See http://httpd.apache.org/docs-2.0/mod/mod_auth_digest.html # BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On # # ### # SECTION III - MySQL Authentication # # The following example requires mod_auth_mysql to work. # Emerge mod_auth_mysql and follow the instructions in # 12_mod_auth_mysql.conf to create MySQL database required # for authentication. After you finished adding users, add # '-D AUTH_MYSQL' to your /etc/conf.d/apache2 APACHE2_OPTS # setting and restart Apache to get the module loaded. ### # # # Options None # AllowOverride None # Order allow,deny # Allow from all # AuthName "AWStats MySQL authenticated zone" # AuthType Basic # AuthMySQLUser authuser # AuthMySQLPassword PaSsW0Rd # AuthMySQLDB auth # AuthMySQLUserTable users # AuthMySQLNameField user_name # AuthMySQLPasswordField user_passwd # # Uncomment the two lines below ONLY if you have # # the required table for group-based MySQL authentication # # in your MySQL database. # #AuthMySQLGroupTable groups # #AuthMySQLGroupField user_group # # # Uncomment one of the following directives according # # to the database structure you have chosen. # #require valid-user # #require group your_group_name_here # #