1 | NameVirtualHost *:80 |
---|
2 | <VirtualHost *:80> |
---|
3 | ServerAdmin webmaster@localhost |
---|
4 | |
---|
5 | DocumentRoot /var/www/expresso/ |
---|
6 | |
---|
7 | <Directory /var/www/expresso/> |
---|
8 | Options FollowSymLinks MultiViews |
---|
9 | AllowOverride All |
---|
10 | Order allow,deny |
---|
11 | allow from all |
---|
12 | </Directory> |
---|
13 | |
---|
14 | #<Directory /var/www/expresso/setup> |
---|
15 | # Options None |
---|
16 | # AllowOverride All |
---|
17 | # Order deny,allow |
---|
18 | # allow from ##ip rede interna## |
---|
19 | #</Directory> |
---|
20 | |
---|
21 | ErrorLog /var/log/apache2/error.log |
---|
22 | |
---|
23 | # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. |
---|
24 | LogLevel warn |
---|
25 | |
---|
26 | CustomLog /var/log/apache2/access.log combined |
---|
27 | #ServerSignature Off |
---|
28 | |
---|
29 | </VirtualHost> |
---|
30 | |
---|
31 | Listen 443 |
---|
32 | NameVirtualHost *:443 |
---|
33 | <VirtualHost *:443> |
---|
34 | ServerAdmin webmaster@localhost |
---|
35 | |
---|
36 | LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so |
---|
37 | # Alteracoes efetuadas para utilizar certificado digital |
---|
38 | |
---|
39 | SSLEngine On |
---|
40 | SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL |
---|
41 | |
---|
42 | SSLCertificateFile /etc/apache2/ssl/server.crt |
---|
43 | SSLCertificateKeyFile /etc/apache2/ssl/server.key.pem |
---|
44 | SSLCACertificatePath /etc/apache2/ssl |
---|
45 | SSLCACertificateFile /etc/apache2/ssl/cacert.pem |
---|
46 | |
---|
47 | SSLVerifyClient none |
---|
48 | SSLVerifyDepth 10 |
---|
49 | |
---|
50 | SSLOptions +StdEnvVars +ExportCertData |
---|
51 | |
---|
52 | DocumentRoot /var/www/expresso/ |
---|
53 | |
---|
54 | <Directory /var/www/expresso/> |
---|
55 | Options FollowSymLinks MultiViews |
---|
56 | AllowOverride All |
---|
57 | Order allow,deny |
---|
58 | allow from all |
---|
59 | </Directory> |
---|
60 | |
---|
61 | #<Directory /var/www/expresso/setup> |
---|
62 | # Options None |
---|
63 | # AllowOverride All |
---|
64 | # Order deny,allow |
---|
65 | # allow from ##ip rede interna## |
---|
66 | #</Directory> |
---|
67 | |
---|
68 | ErrorLog /var/log/apache2/error.log |
---|
69 | |
---|
70 | # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. |
---|
71 | LogLevel warn |
---|
72 | |
---|
73 | CustomLog /var/log/apache2/access.log combined |
---|
74 | # ServerSignature On |
---|
75 | </VirtualHost> |
---|