tobean Posted October 17, 2016 Report Share Posted October 17, 2016 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. Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted October 17, 2016 Report Share Posted October 17, 2016 Require SSL is just for the ad management UI, it does not affect ad delivery. tobean 1 Quote Link to comment Share on other sites More sharing options...
tobean Posted October 17, 2016 Author Report Share Posted October 17, 2016 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 Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted October 17, 2016 Report Share Posted October 17, 2016 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. Quote Link to comment Share on other sites More sharing options...
tobean Posted October 17, 2016 Author Report Share Posted October 17, 2016 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 Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted October 17, 2016 Report Share Posted October 17, 2016 That htaccess file should not be necessary, the ad server will respond with https (if the webserver is properly configured). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.