cgi-bin location
Posted: 08. February 2005 00:42
Just to add something
If I go here
http://localhost/xampp/simon/test.cgi the script below works fine
it prints Helo world
#!/perl/bin/perl -wT
print "Content-type: text/html\n\n";
print "<h2>Hello, World!</h2>\n";
But if i add a folder cgi-bin like below
http://localhost/xampp/simon/cgi-bin/test.cgi
I get the page cannot be found error, when using the same file " test.cgi "
any ideas ?
Pyro
If I go here
http://localhost/xampp/simon/test.cgi the script below works fine
it prints Helo world
#!/perl/bin/perl -wT
print "Content-type: text/html\n\n";
print "<h2>Hello, World!</h2>\n";
But if i add a folder cgi-bin like below
http://localhost/xampp/simon/cgi-bin/test.cgi
I get the page cannot be found error, when using the same file " test.cgi "
any ideas ?
Pyro