Guest User

default-ssl

a guest
Dec 4th, 2013
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.14 KB | None | 0 0
  1. <VirtualHost *:443>
  2.  
  3.         SSLEngine on
  4.         SSLCertificateFile /etc/apache2/ssl/cert.pem
  5.         SSLCertificateKeyFile /etc/apache2/ssl/key-cert.pem
  6.  
  7.         ProxyRequests Off
  8.  
  9.         <Proxy *>
  10.                 Order deny,allow
  11.                 Allow from all
  12.         </Proxy>
  13.  
  14.         ProxyVia On
  15.  
  16.         ProxyPass /webdav/ http://127.0.0.1:8069/webdav/
  17.         <Location /webdav/ >
  18.                 ProxyPassReverse /webdav/
  19.                 <Limit OPTIONS PROPFIND GET REPORT MKACTIVITY PROPPATCH PUT MOVE COPY DELETE LOCK UNLOCK>
  20.                         Order Deny,Allow
  21.                         Allow from all
  22.                         Satisfy Any
  23.                 </Limit>
  24.         </Location>
  25.  
  26.         ProxyPass / http://127.0.0.1:8069/
  27.         <location / >
  28.                 ProxyPassReverse /
  29.         </location>
  30.  
  31.         RequestHeader set "X-Forwarded-Proto" "https"
  32.  
  33.         # Fix IE problem (httpapache proxy dav error 408/409)
  34.         SetEnv proxy-nokeepalive 1
  35.  
  36.         ErrorDocument 400 'ERROR!'
  37.         ErrorDocument 403 'ERROR!'
  38.         ErrorDocument 404 'ERROR!'
  39.         ErrorDocument 503 'ERROR!'
  40.  
  41. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment