[2937] | 1 | <VirtualHost *:80> |
---|
| 2 | ServerAdmin webmaster@localhost |
---|
| 3 | |
---|
| 4 | DocumentRoot /var/www/expresso/ |
---|
| 5 | |
---|
| 6 | <Directory /> |
---|
| 7 | Options None |
---|
| 8 | AllowOverride None |
---|
| 9 | Order deny,allow |
---|
| 10 | Deny from all |
---|
| 11 | </Directory> |
---|
| 12 | |
---|
| 13 | <Directory /var/www/expresso/> |
---|
| 14 | Options FollowSymLinks MultiViews |
---|
| 15 | AllowOverride None |
---|
| 16 | Order allow,deny |
---|
| 17 | allow from all |
---|
| 18 | </Directory> |
---|
| 19 | |
---|
| 20 | <Directory /var/www/expresso/doc> |
---|
| 21 | Options None |
---|
| 22 | AllowOverride None |
---|
| 23 | Order deny,allow |
---|
| 24 | allow from ##ip rede interna## |
---|
| 25 | </Directory> |
---|
| 26 | |
---|
| 27 | <Directory /var/www/expresso/help> |
---|
| 28 | Options FollowSymLinks MultiViews |
---|
| 29 | AllowOverride None |
---|
| 30 | Order allow,deny |
---|
| 31 | allow from all |
---|
| 32 | </Directory> |
---|
| 33 | |
---|
| 34 | <Directory /var/www/expresso/icons> |
---|
| 35 | Options None |
---|
| 36 | AllowOverride None |
---|
| 37 | Order deny,allow |
---|
| 38 | allow from ##ip rede interna## |
---|
| 39 | </Directory> |
---|
| 40 | |
---|
| 41 | <Directory /var/www/expresso/setup> |
---|
| 42 | Options None |
---|
| 43 | AllowOverride None |
---|
| 44 | Order deny,allow |
---|
| 45 | allow from ##ip rede interna## |
---|
| 46 | </Directory> |
---|
| 47 | |
---|
| 48 | ErrorLog /var/log/apache2/error.log |
---|
| 49 | |
---|
| 50 | # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. |
---|
| 51 | LogLevel warn |
---|
| 52 | |
---|
| 53 | CustomLog /var/log/apache2/access.log combined |
---|
| 54 | #ServerSignature Off |
---|
| 55 | |
---|
| 56 | RewriteEngine on |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) |
---|
| 60 | RewriteRule .* - [F] |
---|
| 61 | </VirtualHost> |
---|
| 62 | |
---|
| 63 | <VirtualHost *:443> |
---|
| 64 | ServerAdmin webmaster@localhost |
---|
| 65 | |
---|
| 66 | # Alteracoes efetuadas para utilizar certificado digital |
---|
| 67 | |
---|
| 68 | SSLEngine On |
---|
| 69 | SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL |
---|
| 70 | |
---|
| 71 | SSLCertificateFile /etc/apache2/ssl/server.crt |
---|
| 72 | SSLCertificateKeyFile /etc/apache2/ssl/server.key.pem |
---|
| 73 | SSLCACertificatePath /etc/apache2/ssl |
---|
| 74 | SSLCACertificateFile /etc/apache2/ssl/cacert.pem |
---|
| 75 | |
---|
| 76 | SSLVerifyClient none |
---|
| 77 | SSLVerifyDepth 10 |
---|
| 78 | |
---|
| 79 | SSLOptions +StdEnvVars +ExportCertData |
---|
| 80 | |
---|
| 81 | DocumentRoot /var/www/expresso/ |
---|
| 82 | |
---|
| 83 | <Directory /> |
---|
| 84 | Options None |
---|
| 85 | AllowOverride None |
---|
| 86 | Order deny,allow |
---|
| 87 | Deny from all |
---|
| 88 | </Directory> |
---|
| 89 | |
---|
| 90 | <Directory /var/www/expresso/> |
---|
| 91 | Options FollowSymLinks MultiViews |
---|
| 92 | AllowOverride None |
---|
| 93 | Order allow,deny |
---|
| 94 | allow from all |
---|
| 95 | </Directory> |
---|
| 96 | |
---|
| 97 | <Directory /var/www/expresso/doc-expressolivre> |
---|
| 98 | Options None |
---|
| 99 | AllowOverride None |
---|
| 100 | Order deny,allow |
---|
| 101 | allow from ##ip rede interna## |
---|
| 102 | </Directory> |
---|
| 103 | |
---|
| 104 | <Directory /var/www/expresso/help> |
---|
| 105 | Options FollowSymLinks MultiViews |
---|
| 106 | AllowOverride None |
---|
| 107 | Order allow,deny |
---|
| 108 | allow from all |
---|
| 109 | </Directory> |
---|
| 110 | |
---|
| 111 | <Directory /var/www/expresso/icons> |
---|
| 112 | Options None |
---|
| 113 | AllowOverride None |
---|
| 114 | Order deny,allow |
---|
| 115 | allow from ##IP SERVIDOR## |
---|
| 116 | </Directory> |
---|
| 117 | |
---|
| 118 | <Directory /var/www/expresso/setup> |
---|
| 119 | Options None |
---|
| 120 | AllowOverride None |
---|
| 121 | Order deny,allow |
---|
| 122 | allow from ##ip rede interna## |
---|
| 123 | </Directory> |
---|
| 124 | |
---|
| 125 | ErrorLog /var/log/apache2/error.log |
---|
| 126 | |
---|
| 127 | # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. |
---|
| 128 | LogLevel warn |
---|
| 129 | |
---|
| 130 | CustomLog /var/log/apache2/access.log combined |
---|
| 131 | # ServerSignature On |
---|
| 132 | |
---|
| 133 | RewriteEngine on |
---|
| 134 | RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) |
---|
| 135 | RewriteRule .* - [F] |
---|
| 136 | </VirtualHost> |
---|