Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- It depends on your current Apache configuration but in most cases it should be enough to add the following lines in the default Apache virtual host configuration file. Edit the"/opt/bitnami/apache2/conf/bitnami/bitnami.conf" file and add the following recode into the <VirtualHost _default_:80> section: <VirtualHost _default_:80> DocumentRoot "/opt/bitnami/apache2/htdocs" RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L] ... Then restart the Apache web server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement