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

Re: Cocanwiki package



On Thu, Aug 19, 2004 at 03:43:56PM +0200, Sven Luther wrote:
> The example scripts should be in /usr/share/doc/mod-caml, should they not ? 

Yes, they should be, but the current debian/control doesn't do this.
It's very much a working configuration for me, not intended for
general consumption.

> > CamlLoad /usr/lib/mod_caml/registry.cmo
> > 
> > Alias /caml-icons/ /usr/lib/mod_caml/caml-icons/
> > Alias /caml-bin/ /usr/lib/mod_caml/caml-bin/
> > 
> > <Location /caml-bin>
> > 	SetHandler ocaml-bytecode
> > 	CamlHandler Registry.handler
> > 	Options ExecCGI
> > 	Allow from all
> > </Location>
> 
> Would it not be easier to add this directly, but maybe not activate it ? One
> way of doing this is to add a commented out set of lines, or using a
> non-executable script that needs to be setup.

Mmmm .. possibly.  I tend to shy away from attempting to automagically
edit big configuration files like /etc/apache/httpd.conf.  You could
end up screwing up someone's live server, and then they won't be
happy.  What about adding these lines in a file
/etc/apache/modcaml.conf and leaving it up to the user to Include this
file if they choose?  This is actually the way that the COCANWIKI deb
works.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
NET::FTPSERVER is a full-featured, secure, configurable, database-backed
FTP server written in Perl: http://www.annexia.org/freeware/netftpserver/



Reply to: