Jump to content

scott001

Approved members
  • Posts

    112
  • Joined

  • Last visited

Posts posted by scott001

  1. Both the Revive adserver site and the site I display my ads are on the same server and domain: https://www.celiac.com Both are also set to be https under the SSL certificate. I have even tried using these in .htaccess to force secure cookies an https:

    #force https
     <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{HTTPS} !=on
        RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
     </IfModule>
    #
    #FORCE SECURE COOKIES
    <IfModule mod_headers.c>
    # only for Apache > 2.2.4:
    Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
    #
    # lower versions:
    #Header set Set-Cookie HttpOnly;Secure
    </IfModule>
     

     

    but the error still shows:

    https://www.dareboost.com/en/report/a_25e3a5b31a0612f6f36f66767?reportIds=a_25e3a5b31a0612f6f36f66767

  2. As you can see, within that file all are set to on or https...is there a setting somewhere else for this? My cookies are not secure, I do not use the cloud or have a proxy server. How can I make my cookies secure?

    In config here are my settings:

    [openads]
    installed=1
    requireSSL=1
    sslPort=443
    language=en

    [max]
    requireSSL=1
    sslPort=443

     

    [cookie]
    permCookieSeconds=31536000
    maxCookieSize=2048
    domain=
    viewerIdDomain=
     

  3. I found the code you mean, I just don't know exactly what you did to the code to change it. Here is my code:

    function setupConfigVariables()
    {
        $GLOBALS['_MAX']['MAX_DELIVERY_MULTIPLE_DELIMITER'] = '|';
        $GLOBALS['_MAX']['MAX_COOKIELESS_PREFIX'] = '__';
        $GLOBALS['_MAX']['thread_id'] = uniqid();

        // Set a flag if this request was made over an SSL connection (used more for delivery rather than UI)
        $GLOBALS['_MAX']['SSL_REQUEST'] = false;
        if (
            (!empty($_SERVER['SERVER_PORT']) && !empty($GLOBALS['_MAX']['CONF']['openads']['sslPort']) && ($_SERVER['SERVER_PORT'] == $GLOBALS['_MAX']['CONF']['openads']['sslPort'])) ||
            (!empty($_SERVER['HTTPS']) && ((strtolower($_SERVER['HTTPS']) == 'on') || ($_SERVER['HTTPS'] == 1))) ||
            (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && (strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https')) ||
            (!empty($_SERVER['HTTP_X_FORWARDED_SSL']) && (strtolower($_SERVER['HTTP_X_FORWARDED_SSL']) == 'on')) ||
            (!empty($_SERVER['HTTP_FRONT_END_HTTPS']) && (strtolower($_SERVER['HTTP_FRONT_END_HTTPS']) == 'on')) ||
            (!empty($_SERVER['FRONT-END-HTTPS']) && (strtolower($_SERVER['FRONT-END-HTTPS']) == 'on'))
        ) {
            // This request should be treated as if it was received over an SSL connection
            $GLOBALS['_MAX']['SSL_REQUEST'] = true;
        }

        // Maximum random number (use default if doesn't exist - eg the case when application is upgraded)
        $GLOBALS['_MAX']['MAX_RAND'] = isset($GLOBALS['_MAX']['CONF']['priority']['randmax']) ?
            $GLOBALS['_MAX']['CONF']['priority']['randmax'] : 2147483647;

            list($micro_seconds, $seconds) = explode(" ", microtime());
            $GLOBALS['_MAX']['NOW_ms'] = round(1000 *((float)$micro_seconds + (float)$seconds));

        // Always use UTC when outside the installer
        if (substr($_SERVER['SCRIPT_NAME'], -11) != 'install.php') {
            // Save server timezone for auto-maintenance
            $GLOBALS['serverTimezone'] = date_default_timezone_get();
            OA_setTimeZoneUTC();
        }
    }
     

  4. It seems that nobody with a large list would every use the throttle features the way they are set up, as it will throttle every domain. Does anyone know if there is a plugin that would allow one to throttle only domains on a list? I have ~4-5 domains I need to throttle, but don't need to throttle gmail, hotmail, etc. If not, this would be a great feature to add.

  5. I spent a day trying again to get a sub-domain working. I was able to get it working using the iFrame and Java tags, including the single page call Java tags, however, now matter what I did, I could not get the async tags working using the sub domain (which is my goal here). Is there any reason anyone can think of that would explain why all of the other tags are working for this, but not the async tags?

  6. I just upgraded to 5.0, ran the upgrade wizard, all seemed to go fine, but was expecting after it ran that when I went to my acp I would be prompted to update my database...I was not. When I go now to the Product Updates area I see:

    • You are currently using Revive Adserver v5.0.0 (warning: database is stamped as v4.2.1) running on Apache, PHP 7.3.10 and MySQL 5.5.5-10.3.18-MariaDB.

    So was my database supposed to upgrade with 5.0? Now that it didn't happen, how can I upgrade it?

×
×
  • Create New...