Re: Wcal packaging question
Hi,
Debian policy states that the directory for CGI content should be
/usr/lib/cgi-bin - Create a directory (say, /usr/lib/cgi-bin/wcal) and
install in it.
You should not need to modify Apache configuration - This directory is
already scrpiptaliased in a default Debian installation.
Always, if possible, avoid messing with other programs. If you have to...
Well, then do it ;-) but I would recommend you not to.
Greetings,
> Hi,
>
> First of all: I am not an official debian developer.
>
> I'm packaging Wcal (a web-based calender/planner). It is by no means an
> official deb, but I want to do it as good as possible. I have some
> questions though:
>
> The Wcal installer asks me for the "HTML directory for wcal". This is
> the directory that holds the CGI scripts and images (according to
> INSTALL).
>
> I currently use /var/www/wcal for this, but I doubt it is the right
> place for it. (I wouldn't like packages installing stuff in
> /var/www anyhow...). Can anybody give some advice on this?
>
> Another thing is the apache config: it must be edited before one can
> use wcal: I added the following:
>
> <Directory /var/www/wcal>
> AddHandler cgi-script .cgi
> DirectoryIndex index.cgi
> Options +ExecCGI
> </Directory>
>
> How should I do this in the postinstall? Will it be overwritten when
> there's an apache update? I currently put this in README.Debian, and
> ask the user to it him/herself.
>
> Thanks in advance, hope this is the right place to ask this kind of
> questions...
>
> Wouter
>
>
--
Gunnar Wolf - gwolf@campus.iztacala.unam.mx - (+52-55)5623-1118
+---
|PARTICIPA EN EL CONSOL - Congreso Nacional de Software Libre,
|http://www.consol.org.mx, Ciudad de México, 11-14 feb 2002
+--
Reply to: