[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RE: CGI-BIN on XTR or RAQ 4



> But why is that that when you enable the CGI-BIN on the GUI
> it does not create the cgi-bin and when you remove the check
> mark on the GUI it does not remove the directory.

The way the script handler directive is set up for Apache, any file 
that ends in .cgi or .pl anyplace under /home/sites/sitex/web/ is 
treated as a CGI and is executed within the parameters allowed by 
CGIWrap.  No /cgi-bin/ directory is created or needed.  There is 
no "ScriptAlias" directive set up to mark a specific directory as 
containing CGIs.

If you _want_ to set up a cgi-bin directory yourself, for peace of mind 
or because a particular script requires it, you are responsible for 
properly securing it, as you would with any other subdirectory.

--
Bruce Timberlake
Sun Cobalt Technology Engineer
Sun Microsystems, Inc.