Ok I looked at Shawn's post on how to get started for people who have htm or html sites which I do so here are the steps I took. 1. Created passthru.php page with the code Shawn provided here http://forums.digitalpoint.com/showthread.php?t=5659. 2. This is the .htaccess file code I'm using. It includes the code Shawn provided in the same thread shown in point #1 above, plus I added the "AddType" line to the .htaccess file as instructed in the digitalpoints setup instructions. I tied the .htaccess file with and without this "AddType" line in it, but validation failed either way. 3. Created the "ad_network.php" page with the code provided from the didgitalpoint setup page for a text only link. http://www.digitalpoint.com/tools/ad-network/setup.php?type=99 4. Create an empty file named ad_network_ads.txt in the same directory and CHMOD the file to 777 as instructed in the digitalpoint setup page. 5. I of course uploaded all these files to the root folder on my host and tried to validate the site and keep getting the "Account not not yet activated. | Site failed automatic validation as of 2004-12-22 (make sure URL and site type is correct - if everything is correct, make a request in the forum for assistance)" error message. Did I miss a step or mess one up? I'm assuming the stuff Shawn posted was so a traditional html site like mine www.cruise-ship-life.com could be added to the digitalpoint network, but maybe it can't and I misunderstood. Any help would be appreciated. Thanks, Stephen
I'm getting an Internal server error ATM, so I'm guessing you're still messing around with the .htaccess?
No, I'm not doing anything with the .htaccess file or anything with the site right now at all. -Stephen
Here it might help if I post what I have in the .htaccess file at this time. AddHandler server-parsed .html .htm AddType application/x-httpd-php .php .htm .html IndexIgnore * <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} ^(.*).htm [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*).html [NC] RewriteRule ^(.*) /passthru.php?file=$1 </IfModule>
I'm still seeing a 500 Internal Server Error on http://www.cruise-ship-life.com. I'm not terribly techie so someone else would know better, but I did have a similar problem trying to run it on straight html pages when my hosting provider didn't allow the use of RewriteEngine. Are you using virtual hosting? If so, you might want to check with your provider to see if your htaccess needs are met, for various reasons many hosts won't have some functionality enabled (to stop people like me from breaking things). In the meantime, you should probably clear out that htaccess page from your root directory at least to get the site back up. Is your text file getting updated btw?
Ok I didn't go back to even see if my site was online after adding the digitalpoint code and Shaewn's code and i see what you mean about the site being down. I've replaced teh .htaccess code with what I had originally before I tried to get this all to work and now the site is back up, but of course it isn't going to work with the digitalpoint network the way it written right now (see .htaccess code now). So the question is how can I edit this file and any others I may need to edit to get this to work on a strictly html site? "Are you using virtual hosting?" No "Is your text file getting updated btw?" No I know someone who just joined this network who uses the same server to host her sites that I do so I'm pretty sure my hosting service needs are met. I should double chek to see if she is using html page though and not php. Thanks, Stephen Current .htaccess file: AddHandler server-parsed .html .htm IndexIgnore * RewriteEngine On RewriteCond %{HTTP_HOST} ^cruise-ship-life\.com$ [NC] RewriteRule ^(.*)$ http://www.cruise-ship-life.com/$1 [R=301,L]
Would like to know if you get your problem resolved. I'm having a similar issue with one of my sites. From other posts it appears that *every* page on the site (or at least what the code can find) must have the ad_network code on it. This is quite a challenge for some html sites that might have hundreds of pages. But nothing a "search & replace" in Dreamweaver can't accomplish. But I can't even get an add to display on a single page of my site. I have some other php code running on the page so I know parsing should not be an issue. The ad_network.txt file is also being written too. Basically - no ads are displayed and there is no error messages on the page. I see this as an *awesome* tool for link reputation and building PR! But I can't get it working.