|
|
|
|
|
|
|
![]() |
#1 |
Oh! I haven't changed since high school and suddenly I am uncool
|
Hi
Below is the reply I received from my hosting provider :- Thank you for contacting Online Support. Based on the information provided, you experiencing some difficulty with CGI and SSI scripts. SSI and CGI are enabled and functioning on the account. You can place CGI scripts anywhere on the hosting account, they do not need to be in a cgi-bin or cgi directory. Because you have a CGI/Perl enabled account, the system path to our Perl interpreter is /usr/bin/perl. I have provided a test PERL script below if needed. NOTE: The file's permissions must be set to execute to work. Example of a Test PERL Script #!/usr/bin/perl use CGI qw(:standard); print "Content-type: text/html "; print "Greetings user. "; I have not fiddled with his example as he gave no call to SSI, (that I could recognise!) |
![]() |
![]() |
![]() |
#2 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Is the location of the test page http://fetishfiends.com/test.shtml ? If so, I just tried it and I am not getting the same source code as you posted!
Also where is the Perl script? I have tried both http://fetishfiends.com/cgi-bin/readblog.cgi and http://fetishfiends.com/cgi/readblog.cgi both of which go to what I assume is your 404 page, which infers the script does not exist at either location. |
![]() |
![]() |
![]() |
#3 |
Oh! I haven't changed since high school and suddenly I am uncool
|
Thanks for your reply. Yes, http://fetishfiends.com/test.shtml is the test page. Sorry, I had left the page up without the call to code, as I had been trying it out in various ways, ie directly putting in the html and code, and trying the insert button. I have now got it with the call to code.
From your e mail, I see that I had misnamed the script. I saved it as script.cgi, I have now renamed it to readblog.cgi, so http://fetishfiends.com/cgi/readblog.cgi now shows the blog. My test page is still blank. |
![]() |
![]() |
![]() |
#4 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Could you re-upload the test.shtml page with the call code in it please. The actual script is working fine on your server so the problem must be with the SSI call. What I need to do is look at the page with the SSI call intact and see if I can find a problem with it. And if there is no problem I'll need the page up with the call in it for your hosting company to look at.
|
![]() |
![]() |
![]() |
#5 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
|
![]() |
![]() |
![]() |
#6 |
Oh! I haven't changed since high school and suddenly I am uncool
|
I have re loaded the test page with the call to SSI, and I did check it after renaming the script file to readblog.cgi . I have tried the test page with the SSI every way I can think of, ie directly writing in the html, using my insert button, adding the SSI code with and without the extra /
I am still drawing a blank page |
![]() |
![]() |
![]() |
#7 | |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
OK, re-upload the following version of test.shtml and leave it up:
Code:
<html><head><title>Test</title> </head> <body> <!--#include virtual="cgi/readblog.cgi"--> </body></html> Quote:
|
|
![]() |
![]() |
![]() |
|
|