Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName example.com
- ServerAlias mail.example.com www.example.com
- # DocumentRoot /home/example1/public_html
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^example.com [NC]
- RewriteCond %{SERVER_PORT} 80
- RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
- JkMount /* example
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- ProxyRequests Off
- ProxyPreserveHost Off
- ProxyPass / ajp://localhost:8080//
- ProxyPassReverse / ajp://localhost:8080/example/
- ProxyPassReverseCookiePath / domine/
- </VirtualHost>
Add Comment
Please, Sign In to add comment