Apache2: Multiple SSL Virtual Hosts (for multiple domains) on same machine

RewriteLog: Those familiar with earlier versions of mod_rewrite will no doubt be looking for the RewriteLog and RewriteLogLevel directives. This functionality has been completely replaced by the new per-module logging configuration via LogLevel.

Problem I had: Going to “www.a.com” was redirected to https://www.a.com, but “a.com” was NOT.

Some things to check before anything:

  • Does the problem occur in any browser? Clear cache!
  • Useful command to see configuration of apache2: apache2ctl -S
  • Leave a Reply

    Your email address will not be published. Required fields are marked *