Announcement

Collapse
No announcement yet.

HTTPS automatic redirect with .htaccess

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • hydronix
    replied
    Cats were sleeping with dogs, the Sun has risen in the West. Editing Login, Core and Vbulletin URLS to https fixed the problem though.

    Leave a comment:


  • Mark.B
    replied
    Mine just uses this without issue:
    Code:
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    We'd probably need to know what 'all Hell breaks loose' actually means though.

    Leave a comment:


  • hydronix
    started a topic HTTPS automatic redirect with .htaccess

    HTTPS automatic redirect with .htaccess

    Edited the .htaccess file with
    Code:
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    All hell broke lose. How to ensure things work fine after the rewrite?
    Thanks

Related Topics

Collapse

Working...
X