Ok so here is my setup:

D6.15
PHP 5.2.11
SecureSite 6.x-2.4 - using HTML form authentication. Also using Ldap_integration 6.x-1.0-beta2 with patches found here: http://drupal.org/node/551738#comment-2547130

Drupal is installed at the DocRoot and $base_url is not set (because it shouldn't have to be). When I set the $base_url to https://mysite.mydomain.com to fix this issue - http://drupal.org/node/706088 - I am asked to login every time I click a link. Auth works but I constantly have to reauth no matter if I am user1 or an ldap account. The reason I know this has nothing to do with SSL is that I can test in my sandbox without a reverse proxy/ssl and get the same results.

Comments

crabcakes’s picture

Status: Active » Closed (won't fix)

I wanted to update this issue and set it to resolved. Although this may seem trivial to most it was not apparent to me all of these settings had to be correct in order for it to work. Also in 6.15 the default settings.php was incorrect for the 'reverse proxy' lines missing $conf = array(

Essentially if you're using a reverse proxy and SSL in the setup below:

Internet->Proxy and SSL->drupal server

$base_url has to be set to https://address.of.proxy.server
$cookie domain is the address.of.proxy.server

$conf = array(
'reverse_proxy' => TRUE,
'reverse_proxy_addresses' => array('IP.OF.PROXY',),
);