[5797] | 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 |
---|
[6597] | 9 | AllowOverride All |
---|
[5797] | 10 | Order allow,deny |
---|
| 11 | allow from all |
---|
| 12 | </Directory> |
---|
| 13 | |
---|
[6597] | 14 | #<Directory /var/www/expresso/setup> |
---|
| 15 | # Options None |
---|
| 16 | # AllowOverride All |
---|
| 17 | # Order deny,allow |
---|
| 18 | # allow from ##ip rede interna## |
---|
| 19 | #</Directory> |
---|
[5797] | 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 | RewriteEngine on |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) |
---|
| 33 | RewriteRule .* - [F] |
---|
| 34 | </VirtualHost> |
---|
| 35 | |
---|
| 36 | Listen 443 |
---|
| 37 | NameVirtualHost *:443 |
---|
| 38 | <VirtualHost *:443> |
---|
| 39 | ServerAdmin webmaster@localhost |
---|
| 40 | |
---|
| 41 | LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so |
---|
| 42 | # Alteracoes efetuadas para utilizar certificado digital |
---|
| 43 | |
---|
| 44 | SSLEngine On |
---|
| 45 | SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL |
---|
| 46 | |
---|
| 47 | SSLCertificateFile /etc/apache2/ssl/server.crt |
---|
| 48 | SSLCertificateKeyFile /etc/apache2/ssl/server.key.pem |
---|
| 49 | SSLCACertificatePath /etc/apache2/ssl |
---|
| 50 | SSLCACertificateFile /etc/apache2/ssl/cacert.pem |
---|
| 51 | |
---|
| 52 | SSLVerifyClient none |
---|
| 53 | SSLVerifyDepth 10 |
---|
| 54 | |
---|
| 55 | SSLOptions +StdEnvVars +ExportCertData |
---|
| 56 | |
---|
| 57 | DocumentRoot /var/www/expresso/ |
---|
| 58 | |
---|
| 59 | <Directory /var/www/expresso/> |
---|
| 60 | Options FollowSymLinks MultiViews |
---|
| 61 | AllowOverride None |
---|
| 62 | Order allow,deny |
---|
| 63 | allow from all |
---|
| 64 | </Directory> |
---|
| 65 | |
---|
[6615] | 66 | #<Directory /var/www/expresso/setup> |
---|
| 67 | # Options None |
---|
| 68 | # AllowOverride All |
---|
| 69 | # Order deny,allow |
---|
| 70 | # allow from ##ip rede interna## |
---|
| 71 | #</Directory> |
---|
[5797] | 72 | |
---|
| 73 | ErrorLog /var/log/apache2/error.log |
---|
| 74 | |
---|
| 75 | # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. |
---|
| 76 | LogLevel warn |
---|
| 77 | |
---|
| 78 | CustomLog /var/log/apache2/access.log combined |
---|
| 79 | # ServerSignature On |
---|
| 80 | |
---|
| 81 | RewriteEngine on |
---|
| 82 | RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) |
---|
| 83 | RewriteRule .* - [F] |
---|
| 84 | </VirtualHost> |
---|