wacind
April 3rd, 2007, 03:37 PM
Hi
Im trying to set up cgi c++ but im running into a few issues
first i created a testcgi.hmtl file and placed that in /var/www/html
i created a testcgi.cpp comiled that using
g++ -o testcgi testcgi.cpp -lcgicc
i then placed testcgi into /var/www/cgi-bin
but my code doesnt seem to work. i get the error
The requested URL /cgi-bin/testcgi was not found on this server.
I tried following this tutorial. (http://www.yolinux.com/TUTORIALS/LinuxTutorialC++CGI.html)
Thanks
wacind
Im trying to set up cgi c++ but im running into a few issues
first i created a testcgi.hmtl file and placed that in /var/www/html
i created a testcgi.cpp comiled that using
g++ -o testcgi testcgi.cpp -lcgicc
i then placed testcgi into /var/www/cgi-bin
but my code doesnt seem to work. i get the error
The requested URL /cgi-bin/testcgi was not found on this server.
I tried following this tutorial. (http://www.yolinux.com/TUTORIALS/LinuxTutorialC++CGI.html)
Thanks
wacind