Jump to content

Artistan

Approved members
  • Posts

    11
  • Joined

  • Last visited

About Artistan

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Artistan's Achievements

Newbie

Newbie (1/5)

2

Reputation

  1. URL Here is an example. https://ibb.co/kMNYnz2 some of the banners have no properties to edit under any of the tabs. mine was an html banner that had invalid html. cleaned it out of the database and fixed manually.
  2. Our load balancer forwards requests to the web servers via port 80 (insecure on the local network) due to that, the web server + Revive does not automatically know that is should be serving secure links and cookies. In order to resolve this we had to add a forwarded header to the load balancer that tells the server + Revive code that the connection is secure from the users browser. search for `function setupConfigVariables` in the code to see what i am talking about, there are many different server settings to allow `$GLOBALS['_MAX']['SSL_REQUEST'] = true;`
  3. our load balancer was forwarding to servers on port 80. had to add the `HTTP_FRONT_END_HTTPS` or similar for verifying SSL_REQUEST
  4. my lg.php is calling http and then redirecting to https but getting a cookie from http
  5. looks like this may be fixed in Revive Adserver 5.0.4
  6. looks like this may be fixed in Revive Adserver 5.0.4
  7. Thanks Scott001 for your suggestion. I added this to my revive folder so i can just execute it to set the necessary permissions. ```permissions.sh (0777) #!/bin/bash # https://forum.revive-adserver.com/topic/4922-what-files-what-permissions/?do=findComment&comment=12596 chmod -R a+w var chmod -R 444 var/*.conf.php chmod -R a+w var/plugins/ chmod -R a+w var/templates_compiled/ chmod -R a+w www/images/ chmod -R a+w www/admin/plugins/ # However, when I protect the files below, some of which contain passwords to my database, the software throws the permission warnings. chmod -R 644 var/cache/*.php chmod -R 644 var/cache/*.php.meta ```
  8. I am having the same looping issue, NOT SSL requireSSL=0 . and it is still looping.
  9. for those still looking... you can use the composer package that i just whipped up last week. https://packagist.org/packages/artistan/revive-xmlrpc
  10. @YPCrumble I just created a composer package that we can us to access this xml api. https://packagist.org/packages/artistan/revive-xmlrpc Cheers!
  11. lib/xmlrpc/php/openads-xmlrpc.inc.php is the script used to call from php to get a XML-RPC ad this is a sample from my current server.... <?php /* <!-- Revive Adserver XML-RPC Tag - Generated with Revive Adserver v4.1.3 --> */ //ini_set('include_path', '.:/usr/local/lib'); require 'openads-xmlrpc.inc.php'; if (!isset($OA_context)) $OA_context = array(); $oaXmlRpc = new OA_XmlRpc('ads.mr.com', '/www/delivery/axmlrpc.php', 80, false, 15); $adArray = $oaXmlRpc->view('zone:1', 0, '', '', 0, $OA_context, ''); echo $adArray['html']; ?> so if you can mimic that class, you should be able to get and deliver an xml-rpc ad. if you want to do management tasks you will need to utilize or reverse engineer the lib/xmlrpc/php/openads-api-xmlrpc.inc.php file. there is java classes available as well... https://github.com/revive-adserver/revive-adserver/tree/master/lib/xmlrpc
×
×
  • Create New...