Guest User

Untitled

a guest
May 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName example.com
  3. ServerAlias mail.example.com www.example.com
  4. # DocumentRoot /home/example1/public_html
  5. RewriteEngine on
  6. RewriteCond %{HTTP_HOST} ^example.com [NC]
  7. RewriteCond %{SERVER_PORT} 80
  8. RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
  9. JkMount /* example
  10. <Proxy *>
  11. Order deny,allow
  12. Allow from all
  13. </Proxy>
  14. ProxyRequests Off
  15. ProxyPreserveHost Off
  16. ProxyPass / ajp://localhost:8080//
  17. ProxyPassReverse / ajp://localhost:8080/example/
  18. ProxyPassReverseCookiePath / domine/
  19. </VirtualHost>
Add Comment
Please, Sign In to add comment