Hi; I added the .htaccess code, passthru.php, ad_networks.php, and the empty ad_networks_ads.txt (chmod 777) files to my root directory, but I'm still getting the dreaded "Ads not found on http://icecoldstocks.net/." What else can I do to make this work?
Hi Shawn, ummm . . . OK, how do I put the ads there? I figured I missed something, and this is obviously it.
passthru.php will not work for all server setups... it's basically just a baseline to get people started if they can't use the normal supported methods.
Shawn, you've been very helpful. Thanks. Is there a Plan B? I don't want to change the index to a PHP page though.
I've uploaded the passthru.php and added this to my .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} ^(.*).htm [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*).html [NC] RewriteRule ^(.*) /passthru.php?file=$1 </IfModule> and AddType application/x-httpd-php .php .htm .html Do I need anything else? Thanks.
I've added 1. the passthru.php file, and 2. this to the .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} ^(.*).htm [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*).html [NC] RewriteRule ^(.*) /passthru.php?file=$1 </IfModule> AddType application/x-httpd-php .php .htm .html Anything else? Thanks.