Apache Redirects...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm trying to require SSL for drupal login and admin pages and it seems
that this should work but it doesn't redirect if added to httpd.conf or
to .htaccess (I've tried both)

  RewriteCond %{REQUEST_URI} ^/(user|admin)
  RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [L,R]

Shouldn't this be enough so that the URL...(googling suggests that it
is)

http://cms.tobyhouse.com/user/login
is automatically redirected to
https://cms.tobyhouse.com/user/login

?

Craig

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux