Welcome Guest. Sign in or Signup
Asked by: Mike Cherichetti 538 views User Questions
We need the AdvertPRO server to answer requests on both ports 80 and 443. What do I change to support this?
on Sep 27, 2005 Log in to Reply
First, make sure you have at least version 1.0 build #8947 as older versions do not support HTTPS/SSL.
If you’re running Tomcat behind Apache with mod_jk or mod_jk2, you only need to configure Apache for HTTPS/SSL:
Running Tomcat standalone with HTTPS/SSL is also possible:
Note that I’ve assumed you are using Apache 2.0 or Apache Tomcat 5.0, so you may need to consult older versions of the docs if you’re running older versions of either of those.
Also, no configuration changes need to be made to AdvertPRO. It will automatically detect whether HTTPS is enabled. Well, it will so long as you are using port 443 or 8443 for HTTPS. In other words, do not use any odd port numbers because they will not work.
0 Votes 0 Votes 0 Votes
Is there a way that when you add a media (banner), that advertpro could have two Image URL fields, one normal, and the other a HTTPS field?
It would be great if Advertpro would detect if the request was a HTTPS request, and deliver the second URL as opposed to the normal HTTP unsecure image file.
We have a SSL certificate on the advertpro server, as well as the image server — but since advertpro only has one url field, it grabs that; and then the user gets the browser warning “This page contains both secure and nonsecure items.”, “Do you want to display the nonsecure items?”
on Sep 28, 2005 Log in to Reply
AdvertPRO will change the URL to https:// when serving the ad if it is invoked over HTTPS. It will only do that for files that it’s serving though. So, you’ll have to upload the files through AdvertPRO for that to work.
Also, make sure that you check the “Secure” option when you generate code with the code wizard for placement into HTTPS/SSL pages.
Mike, would it be possible to add a known SSL server list, so that when HTTPS: requests come to AdvertPRO it would change the HTTP to HTTPS when it sees a server that is on the list? We’ve got enough traffic that it made sense to move the ad images to a seperate server.
We could add a known SSL server list. I guess that could potentially allow re-writing of third party ad codes too if they support HTTPS. It would take some time for us to get this implemented though. Our focus right now is 100% locked into finishing up version 2.0 with full support for clustering.
Speaking of clustering, we’ve actually supported running just the file server in AdvertPRO on a different machine or multiple machines behind a load balancer for a while. It’s not been publicized very well though because we never took the cluster module out of beta since it is only partially complete (no ad server clustering yet). Do you think it’s an option to run the AdvertPRO file server on your image server and move the files back into AdvertPRO? I’ll have to dig up the instructions to set it up, but it’s pretty easy to do. Uploading all of your files into AdvertPRO and changing your media to use them will probably be a decent bit of work though.
We actually had a consultant that had the Classic version of AdvertPRO running on multiple machines; the one machine acted as the db host and answered requests, and then the two other machines just used an NFS to run off of and answer requests.. we used a cisco local director to send them traffic. It worked okay; but not nearly as good as the current single machine with the new AdvertPRO does that we use today.
Anyways… our ad image machine is running Windows 2003 server; so I’m guessing clustering it wouldn’t be an option since it’s not running debian.
Yeah, AdvertPRO Classic was able to be load balanced using MySQL as a synchronization point. AdvertPRO Advanced has a high speed in-memory database embedded into it that contains heavily accessed data from MySQL. This makes it impossible to use the MySQL for reliable synchronization because changes to the in-memory database are often not written to MySQL in real-time.
Anyway, it’s not a problem that your image machine is running Windows 2003. That’s one of our supported platforms. AdvertPRO Advanced is supported on Linux, Mac OS X, Solaris, Windows 2000/2003, and Unix.
© 2012 Renegade Internet Answers All right reserved.
Answers Theme by Premium Wordpress Themes