Go back to previous page
Forum URL: http://www.dombom.com/cgi-bin/dcforum/dcboard.cgi
Forum Name: The New MadBomber Marketing and SEO Forum
Topic ID: 376
Message ID: 16
#16, RE: 4 Adding RSS/BlogBomb to Your Pages SSI and htaccess
Posted by tasari on Jan-10-08 at 01:59 PM
In response to message #15
We had this talk already before A while ago...

I quote Cindy1 :
"What's going on is that I'm using blogbomb and a random .cgi script on one of my sites. I wanted to add another script, which happened to be PHP.

My original .htaccess file had this line for blogbomb to work correctly:

AddHandler server-parsed .html

When I added the PHP script, I had to change that line in .htaccess to this, so the php script would work (pages were made as .html):

AddType application/x-httpd-php .html .htm


My next problem was calling the blogbomb and random includes. Originally I had -

<!--#include virtual="/cgi-bin/BBx2/feedsearch_ssi.cgi?channel=1&results=6" -->
and
<!--#include virtual="cgi-bin/random-file.cgi" -->


I had to change those to PHP includes, so they now look like this:

<?php
$data = file("http://www.mydomain.com/cgi-bin/random-file.cgi";;
foreach( $data as $value ) {
echo $value;
}
?>

and

<?php
$data = file("http://www.mydomain.com/cgi-bin/BBx2/feedsearch_ssi.cgi?channel=1&results=6";;
foreach( $data as $value ) {
echo $value;
}
?>


Make sense?

Cindy"

Tasari