Google ads + .htaccess + CI routing = 400 Bad Request |
[eluser]gautaml[/eluser]
I have a site that is very close to going live but I am having trouble embedding Googleads in the page. The ad doesn't show up and Chrome debug shows this: Image: Google Chrome debug I put the ad script on a page on its own (not CI tied) and it shows up fine so I don't suspect it's the .htaccess but something with routing. I have gone through several forum posts mostly those involving changing the config's uri_protocol (PATHINFO, etc) and enable_query_strings. Treid all sorts of combos but nothing works. Code: $config['base_url'] = 'http://'.$_SERVER['HTTP_HOST'].'/'; Here's my .htaccess Code: Header unset ETag And here's (some of) my routes.php Code: $route['default_controller'] = 'somepage'; Any help? |
Messages In This Thread |
Google ads + .htaccess + CI routing = 400 Bad Request - by El Forum - 06-29-2011, 06:48 PM
Google ads + .htaccess + CI routing = 400 Bad Request - by El Forum - 06-29-2011, 07:29 PM
Google ads + .htaccess + CI routing = 400 Bad Request - by El Forum - 06-29-2011, 07:51 PM
Google ads + .htaccess + CI routing = 400 Bad Request - by El Forum - 06-29-2011, 08:16 PM
|