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

Reselling Reseller Account?

Posted by Cruise, 09-01-2002, 01:19 PMHi there, I myself own a reseller account and was quoted...

pf Rule Question

Posted by fog, 01-13-2008, 07:35 PMCan someone tell me what's wrong with the following? (Besides...

APF & BFD or CSF & LSD

Posted by praveenkv1988, 04-19-2009, 09:43 AMWhich of the above is best? Posted by...

Websites hacked, can't find the file

Posted by crk91, 04-20-2009, 09:30 PMI don't know how this happened but someone got into my VPS...

your favorite programming language?

Posted by bilalamjad3, 02-20-2010, 02:04 AMtell me. your favorite language. Posted by...