Jump to content

Search the Community

Showing results for tags 'Apache'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Using and Managing Revive Adserver
    • Documentation
    • Using Revive Adserver
    • Managing Revive Adserver
    • Bugs
  • Advanced Topics
    • Performance, Scalability, and Reliability
    • For Developers
  • Revive Adserver Community
    • Revive Adserver Project News and Announcements
    • Feature Requests
    • Plugins
    • Requests for Consulting
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL

Found 3 results

  1. I'm always weary of third party software recommending or requiring setting directory permissions to 777. Is it possible to deny direct access to PHP files in these directories or will it break the software? ./var ./var/templates_compiled ./var/plugins ./var/plugins/DataObjects ./var/plugins/recover ./var/cache ./www/images ./www/admin/plugins ./pluginsSpecifically using an Apache configuration like this, which would be fine providing the PHP files are only included and not accessed directly: <Directory ~ /(var|www/images|www/admin/plugins|plugins)/> php_admin_flag engine off <Files *.php> Order Deny,Allow Deny from all </Files> </Directory> We've been bitten a few times with leaky software that has enabled PHP files to be created in writeable directories and executed to install web shells. This attempts to reduce that risk by disabling PHP execution/denying PHP access directly in the browser.
  2. Hi everyone. I'm new to the Revive community, having just migrated from DFP. We've noticed that, in the days since the migration, our total ad impressions are lower than we expect them to be -- and than what our Google Analytics data suggests they should be, all things equal. In troubleshooting, I noticed that occasionally, the JavaScript console returns a message indicating that instead of ad creative, a 500 error is being returned: Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://ads.301digitalmedia.com/www/delivery/ajs.php?zoneid=5&cb=74309747060&charset=UTF-8&loc=http%3A//www.wably.com/ When navigating directly to the ad URL, we don't usually see issues, except every so often, a blank page is returned, which correlates with the following errors in the Apache error log: [Fri Jul 04 23:30:57.769540 2014] [:error] [pid 5125] [client 68.63.251.176:44781] PHP Notice: Undefined variable: _SERVER in /var/www/html/www/delivery/ajs.php on line 180 [Fri Jul 04 23:30:57.770194 2014] [:error] [pid 5125] [client 68.63.251.176:44781] PHP Notice: Undefined variable: host in /var/www/html/www/delivery/ajs.php on line 228 [Fri Jul 04 23:30:57.771194 2014] [:error] [pid 5125] [client 68.63.251.176:44781] PHP Notice: Undefined index: SCRIPT_NAME in /var/www/html/www/delivery/ajs.php on line 172 [Fri Jul 04 23:30:57.771481 2014] [:error] [pid 5125] [client 68.63.251.176:44781] PHP Notice: Undefined index: SCRIPT_FILENAME in /var/www/html/www/delivery/ajs.php on line 258 [Fri Jul 04 23:30:57.772037 2014] [:error] [pid 5125] [client 68.63.251.176:44781] PHP Fatal error: require(): Failed opening required '/var/www/html/www/delivery/../../lib/OA/Dal/Delivery/.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/www/delivery/ajs.php on line 1973 [Fri Jul 04 23:39:23.205546 2014] [:error] [pid 6360] [client 68.63.251.176:40825] PHP Notice: Undefined variable: _SERVER in /var/www/html/www/delivery/ajs.php on line 180 [Fri Jul 04 23:39:23.205997 2014] [:error] [pid 6360] [client 68.63.251.176:40825] PHP Notice: Undefined variable: host in /var/www/html/www/delivery/ajs.php on line 228 [Fri Jul 04 23:39:23.207145 2014] [:error] [pid 6360] [client 68.63.251.176:40825] PHP Notice: Undefined index: SCRIPT_NAME in /var/www/html/www/delivery/ajs.php on line 172 [Fri Jul 04 23:39:23.207480 2014] [:error] [pid 6360] [client 68.63.251.176:40825] PHP Notice: Undefined index: SCRIPT_FILENAME in /var/www/html/www/delivery/ajs.php on line 258 [Fri Jul 04 23:39:23.207955 2014] [:error] [pid 6360] [client 68.63.251.176:40825] PHP Fatal error: require(): Failed opening required '/var/www/html/www/delivery/../../lib/OA/Dal/Delivery/.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/www/delivery/ajs.php on line 1973 Because it doesn't happen too consistently, I'm not sure exactly why it's happening. The Revive instance was just installed a few days ago, with the following specs: Revive Adserver v3.0.5 running on Apache 2.4.7, PHP 5.5.9-1ubuntu4.2 and MySQL 5.5.35-1ubuntu1 Any help in pinpointing/resolving the root cause would be greatly appreciated. Bill
  3. Hi folks, i couldn't find any resources on this subject or at least no recent information. Im experiencing lots of timeouts in the apache error.logs, even though i increased the timeout settings to a very high amount. But thats not the idea behind this post. When i came to this company, the OpenX adserver was already set up and at version 2.4 oder 2.6 ( i can't quite remember ). During the years it was my task to update and maintain the server, even though i had barely any clue about it when i started. There were no companies or consultings around here, teaching me how to do it and so i had to google every part of the configuration, when it came to reported errors. Obviously there are some of the points, where i could have made minor or even major mistakes in the configuration but we just kept moving on with the already exisiting stuff and just adding/changing configuration without being 100% sure about whats happening. So now the time comes, that i want to set up a fresh server, including new apache/nginx and php configuration. Are there are any good recommendations to look for, regarding php settings? And what about Do's and Not Do's? Or is somebody even willing to write or share his/her setup? Im guessing this is not only interesting for me, as i know from all that troubleshooting, especially before revive-adserver, that its an biiiiiiig pain in the arse, not finding good resources with good information. Sorry for spelling mistakes as English is not my first language. thanks a lot in advance & kind greetings René
×
×
  • Create New...