openx problem

Posted by Chinese Democracy, 04-22-2009, 12:38 AM
I have a domain that uses openx ad system, but stopped working after I applied these below mod security rules I'm running Apache 2.2, PHP 5.2.9 with suPHP enabled and mod_security with these rules: http://www.uhgbug.com/index.php/2009...calapache.html Can someone explain what part of the rules would cause the openx script to stop working? This is the script http://www.openx.org/en/products

Posted by squirrelhost, 04-22-2009, 01:02 AM
mod security logs everything it stops - assuming you're letting it log everything. it'll tell you what you want to know in there.

Posted by foobic, 04-22-2009, 01:03 AM
Check your mod_security logs. Edit: How is it that nobody answers for 25 minutes then two people answer at once?

Posted by squirrelhost, 04-22-2009, 01:06 AM
same as buses. wait for half an hour, then three arrive at once.

Posted by Chinese Democracy, 04-22-2009, 01:08 AM
Ok, I don't know which mod sec logs you're referring to, but I did a grep on the domain inside /usr/local/apache/logs and got this in the error_log How would I go about correcting this now? This is the line inside /usr/local/apache/conf/modsec2.user.conf Should I just delete that single line and restart apache?

Posted by squirrelhost, 04-22-2009, 01:16 AM
modsec2.user.conf: line "152" it says to me. if you're sure that's the line which blocked your openx stuff, remove it, restart apache. servers get hit with all sorts of rubbish requests all the time, so make sure you're identified the source of your problem.

Posted by foobic, 04-22-2009, 01:24 AM
You could delete the rule but you'll lose its protection for all other directories of this site and all other clients on the server. I prefer to just disable rules in the specific cases where they trigger a false positive, using something like this in the site's vhost container:

Was this answer helpful?

 Print this Article

Also Read

Staggering Growth at Limestone Networks Spurs Innovation

Posted by Kyle - Limestone, 05-26-2010, 02:59 PM Limestone Networks, a dedicated server...

Avoiding cleartext passwords for mysql connection

Posted by DataCentric, 02-08-2011, 03:48 PMHey guys, Any bright ideas on how to better secure...

Given a multi-mime email message, how to extract only the HTML?

Posted by Rahil, 01-09-2008, 02:53 AMI am working on a custom mailing list script and I just need...

Looking for a Shell Script! :)

Posted by dwscenter, 01-14-2008, 01:25 AMFirst off I want to apologize if I posted this in the...

PHP Mail Help

Posted by Danny159, 02-08-2011, 10:19 AMHey, I have the following script, and I am trying to...