SHOW:
|
|
- or go back to the newest paste.
1 | <VirtualHost *:80> | |
2 | - | ServerName 127.0.0.1 |
2 | + | ServerName localhost |
3 | - | ServerAdmin admin@127.0.0.1 |
3 | + | ServerAdmin admin@localhost |
4 | ||
5 | - | Redirect permanent / https://127.0.0.1/ |
5 | + | Redirect permanent / https://localhost/ |
6 | - | TransferLog /var/log/apache2/127.0.0.1.log |
6 | + | TransferLog /var/log/apache2/transfer.localhost.log |
7 | ErrorLog /var/log/apache2/error.localhost.log | |
8 | </VirtualHost> | |
9 | ||
10 | - | ServerName 127.0.0.1 |
10 | + | |
11 | - | ServerAdmin admin@127.0.0.1 |
11 | + | ServerName localhost |
12 | ServerAdmin admin@localhost | |
13 | <Proxy *> | |
14 | Order deny,allow | |
15 | - | SSLCertificateFile /etc/ssl/erp/cacert.pem |
15 | + | Allow from all |
16 | - | SSLCertificateKeyFile /etc/ssl/erp/privkey.pem |
16 | + | </Proxy> |
17 | - | SSLCACertificateFile /etc/ssl/erp/cacert.pem |
17 | + | |
18 | SSLEngine on | |
19 | SSLCertificateFile /etc/ssl/erp/localhost.crt | |
20 | - | ProxyPass / http://127.0.0.1:8069/ |
20 | + | SSLCertificateKeyFile /etc/ssl/erp/localhost.key |
21 | - | ProxyPassReverse / http://127.0.0.1:8069/ |
21 | + | |
22 | ProxyRequests Off | |
23 | - | TransferLog /var/log/apache2/Wieltjeshoeve.log |
23 | + | ProxyPass / http://127.0.0.1:8069/ |
24 | ProxyPassReverse / http://127.0.0.1:8069/ | |
25 | ProxyErrorOverride off | |
26 | TransferLog /var/log/apache2/transfer.localhost.log | |
27 | ErrorLog /var/log/apache2/error.localhost.log | |
28 | CustomLog /var/log/apache2/ssl.localhost.log combined | |
29 | ||
30 | #Fix IE problem (httpapache proxy dav error 408/409) | |
31 | SetEnv proxy-nokeepalive 1 | |
32 | RequestHeader set "X-Forwarded-Proto" "https" | |
33 | </VirtualHost> |