Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 3.00 average. Display Modes
Old 2012-10-10, 09:39 AM   #1
tadpole
Oh! I haven't changed since high school and suddenly I am uncool
 
tadpole's Avatar
 
Join Date: Aug 2007
Location: Darkest Africa
Posts: 258
Send a message via ICQ to tadpole
Hi

Quote:
I have not used Front Page, but most programs like that have a setting to include code as code, rather than bugger with it.
I do have a setting to insert code without it being tampered with by Front Page. Thats what I used


Thanks for your reply. You cleared up a few things for me. I eventually contacted my hosting provider with a screen shot, and got this reply :

It appears that the rule was not listed in the .htaccess file to enable the SSI. We have added the file for you. The URL does resolve to a black page, However, the file that is being referenced does not exist. Please review your scripting of the testing.shtml file.

The rule they added to .htaccess is : addhandler x-httpd-php5-cgi .shtml

When I pull up my testing.shtml page it is blank.


I have read and re read your instructions, and cannot see what I have missed. I will give it a break today, and try again from scratch tomorrow.
tadpole is offline   Reply With Quote
Old 2012-10-11, 05:04 AM   #2
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Try uploading the following as your testing.shtml page:
Code:
<html><head><title>Test</title>
</head>
<body>
<!--#include virtual="cgi-bin/readblog.cgi"-->
</body></html>
That should just give you a page with the blog on it.
If you get a message "an error has occurred executing this directive" or similar, the problem is with the script file.
If you get a blank page, take a look at the source code in your browser (on IE, simply select "source" from the "view" menu") and let me know what you get.
ecchi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:56 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc