[NBLUG/talk] OT- sonic question

Troy Arnold troy at zenux.net
Fri Mar 23 16:18:55 PDT 2007


On Tue, Mar 20, 2007 at 05:52:30PM -0800, Cal Herrmann wrote:
> I am totally confused trying to get a web-page to find a cgi file.  
> Sonic places cgi's in a public_cgi directory,
> rather than in a cgi-bin subdirectory as I have used elsewhere.   I 

Hi, Cal-

By default any file whose extension is '.cgi' will be executed as CGI.
So, for instance, /home/www_pages/calani/file.cgi.  'file.pl' won't work
by default.

On sonic, your traditional cgi-bin is here: 
/nfs/httpd/cgi-bin/calani

Their FAQ mentions /usr/local/lib/httpd/cgi-bin, but if you're connecting
over ssh to shell.sonic.net then that filesystem location does not exist.

> can't find an answer in the Sonic FAQ's

Here's the top of the web FAQ's:
http://www.sonic.net/support/web_resources/

However, they do tend to get old and crufty.  It's good to look there
first, but the best source of current information wuld be the sonic
newsgroups:  sonic.help.www and sonic.help.cgi

> to, how to form a POST action=  address  in my html.

If you use place test.cgi in /nfs/httpd/cgi-bin/calana/ the POST action would be:
http://www.sonic.net/~calani/cgi-bin/test.cgi

-troy



More information about the talk mailing list