Talk:Debian:CGI

From LQWiki
Jump to navigation Jump to search

I've tried the basic instructions for CGI scripts in this article, and get a 404 on the cgi script ("The requested URL /var/www/cgi-bin/navigating-change-workshop.cgi was not found on this server.").

One difference in my procecure is that I am running several servers under Apache (hnlc.org, hawaiianatolls.org), so cannot place the html form in /var/www as your instructions say; I must put it in a subdirectory (e.g., /var/www/hawaiianatolls).

Do I need to set something in my Apache definitions of these servers to allow each to access /usr/lib/cgi-bin correctly?

My only experience with CGI is under Solaris, now retired. -- DS

Might try the LQ Debian forum or networking forum as that's the more appropriate (and more active) place to get help. However, if you discover a solution, updating the article here would be great. Digiot 20:45, Jan 1, 2006 (EST)