![]() |
|
|||
|
my cgi-bin does not work at all
i have tried all the suggestions that have been suggested, but nothing happens. I am trying to install grey matter and when i try to access the gm.cgi file it acts as if the cgi-bin does not even exist...can sumone help lme out??? |
|
|||
|
first of all, greymatter SUCKS!!! use coranto if you want a perl news script...
second, i think that tommy's host put more restrictions on us than safemode... i can't even CHMOD things... |
|
|||
|
What's the address of your site?
Can you type in http://yoursite.com/cgi-bin/ and not get an error. :?: |
|
|||
|
Try this site :
http://www.freeperlcode.com/newuser/installascript.html And scroll down to find the simple "hello world" cgi test script. If that script doesn't work after you are absolutely sure you've done everything right, your cgi is "broken", though I doubt that simple script will not work. Ah, and there is also some useful info on that page I suggest reading. I know because that's where I got started with figuring out scripts for myself. |
|
|||
|
Try this script for a test
#!/usr/bin/perl print "Content-type:text/html\n\n"; print "<html><head><title>Test Page</title></head>\n"; print "<body>\n"; print "<h2>Hello, world!</h2>\n"; print "</body></html>\n"; Name it test.cgi and set at 755 it will work in cgi bin or in any folder OleTom :D |
![]() |
| Thread Tools | |
| Display Modes | |
|
|