|
|
|
|
|
|
![]() |
#26 |
Oh! I haven't changed since high school and suddenly I am uncool
|
Thanks
I have sent that off, and will let you know when I get a reply. |
![]() |
![]() |
![]() |
#27 |
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!) |
![]() |
![]() |
![]() |
#28 |
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. |
![]() |
![]() |
![]() |
#29 |
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. |
![]() |
![]() |
![]() |
#30 |
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.
|
![]() |
![]() |
![]() |
#31 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
|
![]() |
![]() |
![]() |
#32 |
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 |
![]() |
![]() |
![]() |
#33 | |
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:
|
|
![]() |
![]() |
![]() |
#34 |
Oh! I haven't changed since high school and suddenly I am uncool
|
Thanks
I have reloaded the page with that version of test.shtml, and still get a blank page. I have sent the message off to my hosting provider. Many thanks, will update you. |
![]() |
![]() |
![]() |
#35 |
Oh! I haven't changed since high school and suddenly I am uncool
|
At last!!! The script is working! ecchi, thank you so much for all your help, and your time. Without it I would never have got to this stage.
I am really hacked off with this hosting provider, as I kept thinking I was making an error yet could not spot it. Here is the reply I received from them :- Thank you for taking the time to reply, and for providing your PIN. It appears you had added a handler in your root .htaccess file that was telling the server to run .cgi files as .shtml. The target file was a .cgi file and as a result was being run as .shtml which will not work. We had temporarily disabled the .htaccess file to confirm that was preventing the target file from being run. You need to review your .htaccess code and revise as necessary. Let us know if we can assist you in any other way. And here is a reply I received from them when I requester SSI and cgi be enabled :- 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. So it was my hosting company who stuffed everything up. Once again, thank you so much. |
![]() |
![]() |
![]() |
#36 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Glad to be of help.
|
![]() |
![]() |
![]() |
|
|