User loginNavigationResource Agents |
Drupal and Secure Logins using mod_rewrite and manually setting the cookie Part 2nid204
vid204
typeblog
status1
created1188669053
changed1188669053
comment2
promote1
sticky0
revision_timestamp1188669053
title Drupal and Secure Logins using mod_rewrite and manually setting the cookie Part 2
body<p>So you may have tried to do this according to my first blog post on the topic. If you did, you found that problems STILL existed!!</p>
<p>So I have created a patch to the securepages module (are you watching Gordon?) to allow this to actually work. And yes! It does work! There are some caveats though</p>
<ul>
<li>The user login block, which I use to use on my site, won't work in SSL mode unless you limit it to SSL pages only. That means you can't put it on your homepage and have SSL logins. It appears that the user block in core needs to be changed or a replacement block created.</li>
<li>You only need one directory in your /sites/ directory for your site and it should be named the same as your domain name- no subdomain. (ex. example.com).</li>
<li>Your base_url in your settings file should be the same: example.com</li>
</ul>
<p>I hope this helps someone.</p>
teaserSo you may have tried to do this according to my first blog post on the topic. If you did, you found that problems STILL existed!!
So I have created a patch to the securepages module (are you watching Gordon?) to allow this to actually work. And yes! It does work! There are some caveats though
<ul>
<li>The user login block, which I use to use on my site, won't work in SSL mode unless you limit it to SSL pages only. That means you can't put it on your homepage and have SSL logins. It appears that the user block in core needs to be changed or a replacement block created.</li>
logformat1
uid1
namedavea
picturedataa:6:{s:6:"submit";s:18:"Create new account";s:7:"form_id";s:13:"user_register";s:7:"contact";i:0;s:5:"block";a:1:{s:2:"og";a:1:{i:4;i:1;}}s:8:"og_email";s:1:"2";s:15:"googleanalytics";a:1:{s:6:"custom";i:0;}}
last_comment_timestamp1188669053
last_comment_nameNULL
comment_count0
taxonomyArray
(
[66] => stdClass Object
(
[tid] => 66
[vid] => 63
[name] => drupal
[description] =>
[weight] => 0
)
[67] => stdClass Object
(
[tid] => 67
[vid] => 63
[name] => ssl
[description] =>
[weight] => 0
)
)
filesArray ( ) readmore1
contentArray
(
[body] => Array
(
[#value] => <p>So you may have tried to do this according to my first blog post on the topic. If you did, you found that problems STILL existed!!</p>
<p>So I have created a patch to the securepages module (are you watching Gordon?) to allow this to actually work. And yes! It does work! There are some caveats though</p>
<ul>
<li>The user login block, which I use to use on my site, won't work in SSL mode unless you limit it to SSL pages only. That means you can't put it on your homepage and have SSL logins. It appears that the user block in core needs to be changed or a replacement block created.</li>
<li>You only need one directory in your /sites/ directory for your site and it should be named the same as your domain name- no subdomain. (ex. example.com).</li>
<li>Your base_url in your settings file should be the same: example.com</li>
</ul>
<p>I hope this helps someone.</p>
[#weight] => 0
)
)
|
Shopping cart
|