![]() |
Thanks
I have sent that off, and will let you know when I get a reply. |
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!) |
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. |
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. |
Quote:
|
Quote:
|
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 |
OK, re-upload the following version of test.shtml and leave it up:
Code:
Quote:
|
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. |
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. |
Glad to be of help.
|
All times are GMT -4. The time now is 03:15 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc