source: branches/2.4/INSTALL/debian/squeeze/etc/apache2/sites-available/expresso @ 6754

Revision 6754, 1.9 KB checked in by niltonneto, 12 years ago (diff)

Ticket #0000 - Copiadas as alterações do Trunk. Versão final da 2.4.1.

  • Property svn:executable set to *
Line 
1NameVirtualHost *: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        RewriteEngine on
30
31
32        RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
33        RewriteRule .* - [F]
34</VirtualHost>
35
36Listen 443
37NameVirtualHost *: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
66        #<Directory /var/www/expresso/setup>
67        #       Options None
68        #       AllowOverride All
69        #       Order deny,allow
70        #       allow from ##ip rede interna##
71        #</Directory>
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>
Note: See TracBrowser for help on using the repository browser.