Jump to content

2 problems with https version of revive adserver


tobean

Recommended Posts

I have changed the configuration to SSL by changing the flag "requireSSL=1" in the config file and everything works fine. In addition I've installed password protection for the directory "www/admin".

When I try to logout in the backend I'll be forwarded to the http-verson "of www/admin/" (correct would be the https-version). Therfore I have to put in my .htaccess password again every time I log out from the backend. Is this a bug or should I change another flag in the config file or somewhere else?

The second problem:  When I force every http reqest to be https with the following commands in the .htaccess file no banners will be displayed. What is the mistake? The configuration works fine some other domains on my server without banners from my revive ad server:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Thanks for every help.

 

Link to comment
Share on other sites

Hi Eric,

thank you but why will I be forwared from a https page to a http page when I try to log out?

 

(link https://www.adserver.de/adserver/www/admin/logout.php forwards me to http://www.adserver.de/adserver/www/admin/ )

And I guess that banner delivery is https with "requireSSL=1" because the banner links change to https://www.adserver.de/adserver/www/delivery/ck.php?oaparams=2__bannerid=192__zoneid=39__cb=6682877f85__oadest=http%3A%2F%2Fwww. ...

What must I do to change everything to https ?

tobean

Link to comment
Share on other sites

Ad delivery is not affected by the 'requireSSL=1' setting, that's the ad management user interface only. For ad delivery, if the ad request comes in over https the ad server will attempt to respond over https as well.

I've never come across a case where logging out from a https UI address attempts to forward you to a non-https address. That might be a misconfiguration of your webserver software, actually.

Link to comment
Share on other sites

Thank you, Eric.

Indeed, ad requests from Google Adsense are https and others start with https://www.adserver.de/adserver/www/delivery/ck.php?oaparams=2__bannerid=192__zoneid=39__cb=6682877f85__oadest=http%3A%2F%2Fwww. ...

The logout problem seems to be a misconfiguartion in my .htaccess file!

Last question: Why do I see no banners with the following configuration in my .htaccess?

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

It should change any http request to https on our adserver.

tobean

Link to comment
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.



×
×
  • Create New...