Hello

On 16 Dec 2001, Ian Bicking wrote:
> On Sun, 2001-12-16 at 17:01, Richard Gordon wrote:
> > One question- I played with WebKit.cgi and OneShot.cgi before then
> > building wkcgi. I couldn't get the latter to execute without an
> > extension, so I wound up renaming it to wk.cgi and it works fine, but
> > did I miss a trick (e.g., is adding an extension always necessary)?
> > This stuff runs on apache/linux and I don't have write privileges to
> > httpd.conf anyway, but I don't recall there being a way to call cgi
> > scripts without an extension that has been defined as cgi.
>
> It depends on your Apache configuration.  .cgi is probably most common,
> especially on shared hosts, but sometimes it won't work either, and the
> file has to be in cgi-bin (usually for security).  I think it can be set
> so that any executable in cgi-bin will get called too.  But yeah, naming
> it .cgi by default would be best.

AFAIR you have to use the cgi extension if an else ordinary directory
is marked with +ExecCGI. If you have a file in a ScriptAlias directory
it can have any extension to be executable. (Don't take my word for it
though ;-) )

Stefan



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to