|
|
|
|
|
|
|
![]() |
#1 |
Oh! I haven't changed since high school and suddenly I am uncool
|
Many thanks, I have contacted my hosting company and am waiting for a reply. They had assured me after a previous e mail that the SSI and CGI bin was enabled. Hopefully a different person will receive my latest e mail
|
![]() |
![]() |
![]() |
#2 |
Oh! I haven't changed since high school and suddenly I am uncool
|
Below is the reply I received from my hosting company :-
I understand you are inquiring about SSI and CGI for fetishfiends.com. The script mentioned references "/cgi-bin", which is incorrect. Your current directory is named as "/cgi". I do show both SSI and CGI are enabled. Server-side scripts and executables can be uploaded to any directory on your site and are not restricted to run only in the cgi directory. These scripts and executables are any files with the following extensions: .cgi, .pl, and .py. So it looks like I will need a slightly different script. I tried making a directory called cgi-bin, and uploaded the script to that, but it didn't work. |
![]() |
![]() |
![]() |
#3 | |||
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Quote:
Quote:
Code:
<html><head><title>Test</title> </head> <body> <!--#include virtual="cgi/readblog.cgi"--> </body></html> Code:
<html><head><title>Test</title> </head> <body> <!--#include virtual="/cgi/readblog.cgi"--> </body></html> Note that practically every script you get will assume your host will be calling the folder where scripts are stored as "CGI-BIN" so you will always have to remember to change the call from "CGI-BIN" to "cgi" No the script should still work, all you need to change is the SSI call, in the way I mentioned above. Quote:
I'm still not convinced of this because if SSI were enabled you should at the very least get an error message, and the line with the include statement should have been deleted from the source code. However, if you have put test.shtml in the cgi folder, perhaps SSI is only active in the root folder. If you are running test.shtml in the root directory (or whatever your host calls the other folder) and you are still not getting either the blog appearing or an error message, then let me know and I'll tell you what to say to your host to get things fixed at their end. |
|||
![]() |
![]() |
![]() |
|
|