-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathVirtualhosts_Apache.conf
42 lines (39 loc) · 1.01 KB
/
Virtualhosts_Apache.conf
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
<Directory /home/sirs26/CL_App/protected>
Options FollowSymLinks
AllowOverride None
Require local
<Limit GET POST OPTIONS>
Order allow,deny
Deny from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<Directory /home/sirs26/CL_App>
Options FollowSymLinks
AllowOverride None
Require all granted
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<VirtualHost *:80>
ServerName sirs26.loopingbit.com
Redirect permanent / https://sirs26.loopingbit.com
#DocumentRoot /home/sirs26/CL_App
</VirtualHost>
<VirtualHost *:443>
ServerName sirs26.loopingbit.com
DocumentRoot /home/sirs26/CL_App
SSLEngine on
SSLProtocol all -SSLv2
SSLCertificateFile /etc/pki/tls/certs/ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key
</VirtualHost>