1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
<VirtualHost *:80>
ServerName www.domaine.com
ServerAlias www.domaine.com
ServerAdmin itsupport@domaine.com
DocumentRoot "/srv/d_dario/www/www.domaine.com/htdocs"
<Directory "/srv/d_dario/www/www.domaine.com/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /srv/d_dario/www/www.domaine.com/cgi-bin/
<Directory "/srv/d_dario/www/www.domaine.com/cgi-bin/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /srv/d_dario/www/www.domaine.com/logs/www.domaine.com-error.log
LogLevel error
SetEnvIf Remote_Addr "127\.0\.0\.1" loopback
CustomLog /srv/d_dario/www/www.domaine.com/logs/www.domaine.com-access.log combined env=!loopback
ServerSignature On
<IfModule mod_dav.c>
DAVLockDB /srv/d_dario/www/www.domaine.com/db/DAVLock
</IfModule>
<Location /awstats.pl>
Options FollowSymLinks Indexes
AuthType Basic
AuthName "Restricted"
AuthUserFile /srv/d_dario/www/www.domaine.com/auth/www.domaine.com._awstats-pl.htpassword
Require valid-user
</Location>
<IfModule mpm_peruser_module>
ServerEnvironment dario_www-dario
MaxProcessors 30
</IfModule>
Include /etc/apache2/sites-includes/www.domaine.com/
</VirtualHost>
<VirtualHost _default_:443>
ServerName www.domaine.com
ServerAlias www.domaine.com
ServerAdmin itsupport@domaine.com
DocumentRoot "/srv/d_dario/www/www.domaine.com/htdocs"
<Directory "/srv/d_dario/www/www.domaine.com/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
CustomLog /srv/d_dario/www/www.domaine.com/logs/secure_access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/cert-domaine.com.crt
SSLCertificateKeyFile /etc/ssl/domaine.com.key
SSLCACertificateFile /etc/ssl/GandiXXXSSLCA.pem
SSLVerifyClient None
</VirtualHost> |