Philip Pemberton wrote:
> I've just installed ViewVC on my NSLU2 (which is running Cherokee
> 0.4.30, among other things). The thing is, I'd like to set a CGI
> script as the Index Document for a given directory. In other words,
> if I access http://myserver/viewvc/, I get the same as if I accessed
> http://myserver/viewvc/viewvc.cgi.
The obvious solution is to add viewvc.cgi to your DirectoryIndex.
> Also, is it possible to have CGI enabled on a per-directory basis,
> so I can have both HTML and CGI in the same directory, and have a
> HTML page as the index document? It seems that if I don't provide a
> filename when a directory is running with the CGI handler, I just
> get a blank page back from Cherokee.
If your cgi files have a common extension, something like this
should be enough:
=====
Directory / {
Handler common
}
Extension cgi {
Handler cgi
}
=====
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee