Re: Wcal packaging question
On Wed, Jan 23, 2002 at 01:58:41PM -0600, Gunnar Wolf wrote:
> 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.
Thanks, I'll see how I can do that (the installer installs the cgi's and
the images in $html_dir, so I guess I'll have to split $html_dir in
the installer in a cgi and an images section...
> You should not need to modify Apache configuration - This directory is
> already scrpiptaliased in a default Debian installation.
I know, I only had to change it because the cgi's were installed in
> Always, if possible, avoid messing with other programs. If you have to...
> Well, then do it ;-) but I would recommend you not to.
Thanks for the advice!
> > 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 - email@example.com - (+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
Blessed are they who Go Around in Circles, for they Shall be Known as Wheels.