Jump to content
Sign in to follow this  
howarde

Using Ssl For Serving Ads

Recommended Posts

I have my SSL working, and the admin section of Revive displays properly in the https:

 

however, when trying to serve ads, or when viewing the banners in the admin interface, the banners are shown in the non-ssl protocol.

 

I can't seem to find where to set the banner delivery to be from SSL?

 

Thanks.

Share this post


Link to post
Share on other sites

I fixed it by running this sed in delivery folder:

sed -i "s/SSL_REQUEST'] = false/SSL_REQUEST'] = true/" *

I know it's not nice or anything, but it solved the problem for me. All ads are served via https now.

Share this post


Link to post
Share on other sites

I finally got my ads to serve over https.

 

I use Javascript to call ads, so I went into the spcjs.php file located in the www/delivery folder.

 

I went down to line 2355/2356:

 

$conf = $GLOBALS['_MAX']['CONF'];
return 'https://' . $conf['webpath']['delivery'] . '/' . $file;
 
and changed it to https, it was originally showing http://
 
Now it finally works.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  



×
×
  • Create New...