Hi,

I have an issue with Secure Pages. CSS doesn't load in https pages, only with IE.
I tried patches I found, like :

securepages.module :

  function securepages_boot() {
-    global $base_url;
     $path = isset($_GET['q']) ? $_GET['q'] : '';


  function securepages_redirect() {
+   global $base_url;
     $path = isset($_GET['q']) ? $_GET['q'] : '';
     $page_match = securepages_match($path);

or

settings.php :

if (!empty($_SERVER['HTTPS'])) {
    $base_url = 'https://' . $_SERVER['HTTP_HOST'];
}

or

bootstrap.inc :
   function drupal_page_header() {
     header("Expires: Sun, 19 Nov 1978 05:00:00 GMT");
     header("Last-Modified: ". gmdate("D, d M Y H:i:s") ." GMT");
-    header("Cache-Control: store, no-cache, must-revalidate");
+    header("Cache-Control: no-store, no-cache, must-revalidate");

But it still doesn't work. Any idea ?
Thx.

Comments

Nicolas92’s picture

Edit : When i look at the source code from web browser, css files aren't aggregated only for https pages.

jdieter’s picture

Version: 6.x-1.8 » 7.x-1.x-dev
Assigned: Nicolas92 » Unassigned

on http:// front page before users log in, all the css images are https and DO NOT show. How can secure pages please not ever change css images to https ??

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks