For Vishal and whoever else that might know the answer to one of my final problems, here's what I did so far (and I'm a novice in regards to .htaccess & ssi, so the following is written in detail to make sure there's nothing I did wrong outside of the usual):
I created a test.txt file, and included the following code, per Vishal's advice:
AddType text/html .html
AddHandler server-parsed .html
AddHandler server-parsed .htm
Then I uploaded the file, and renamed it to .htaccess. I then made a test.html file that has the following code: "<!--#include virtual="/vb.php"-->", and when I went online to look at the result, it says: "[an error occurred while processing this directive]", which means it at least does parse the code. I'll have to dig more into this to figure out how to parse .php files correctly within the static pages of Gossamer Links. I'll post more if I figure this out or if I need more help on this part...
Then again per Vishal's advice, I changed the .htaccess file to have just the following code to see if it'll parse .php files correctly:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
Initially I got the 500 internal server error messages and got sidetracked, but after solving that problem, I am confirming that the above code does NOT work, meaning after testing out the test.html file with the code: "<!--#include virtual="/vb.php"-->", and when I went online to look at the result, it says: "<!--#include virtual="/vb.php"-->", which means it doesn't parse the code but just shows it as is.
So anyway, I tested both versions of the .htaccess files above in conjunction with the "include_login" template I created above, and I am confirming that none of them work, meaning pages such as http://www.mysite.com/cgi-bin/links/add.cgi that I changed to make it use the template show "<!--#include virtual="/vb.php"-->" as is, not parsed no matter what .htaccess file I use. I was not surprised after I just found and read the following post from Vishal a while back: http://www.gossamer-threads.com/...?post=297259;#297259
I didn't fully understand Vishal's post above, so have I missed something or is there absolutely no way to do this?
I created a test.txt file, and included the following code, per Vishal's advice:
AddType text/html .html
AddHandler server-parsed .html
AddHandler server-parsed .htm
Then I uploaded the file, and renamed it to .htaccess. I then made a test.html file that has the following code: "<!--#include virtual="/vb.php"-->", and when I went online to look at the result, it says: "[an error occurred while processing this directive]", which means it at least does parse the code. I'll have to dig more into this to figure out how to parse .php files correctly within the static pages of Gossamer Links. I'll post more if I figure this out or if I need more help on this part...
Then again per Vishal's advice, I changed the .htaccess file to have just the following code to see if it'll parse .php files correctly:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
Initially I got the 500 internal server error messages and got sidetracked, but after solving that problem, I am confirming that the above code does NOT work, meaning after testing out the test.html file with the code: "<!--#include virtual="/vb.php"-->", and when I went online to look at the result, it says: "<!--#include virtual="/vb.php"-->", which means it doesn't parse the code but just shows it as is.
So anyway, I tested both versions of the .htaccess files above in conjunction with the "include_login" template I created above, and I am confirming that none of them work, meaning pages such as http://www.mysite.com/cgi-bin/links/add.cgi that I changed to make it use the template show "<!--#include virtual="/vb.php"-->" as is, not parsed no matter what .htaccess file I use. I was not surprised after I just found and read the following post from Vishal a while back: http://www.gossamer-threads.com/...?post=297259;#297259
I didn't fully understand Vishal's post above, so have I missed something or is there absolutely no way to do this?