Re: httpd packages question
On Thu, 28 Sep 2000, Leonard Stiles wrote:
> According to the debian-policy document, the directory for cgi-bin executables
> is /usr/lib/cgi-bin
> The same document specifies that the web document root should be /var/www
> In the case of mini_httpd, this causes a problem because in order to set its
> document root to the specified directory, mini_httpd calls chroot (), making
> /usr/lib/cgi-bin unaccessible. The only possible solution I can see would be
> to create a symlink /var/www/cgi-bin to /usr/lib/cgi-bin (e.g. in the
> postinstall script), however, this might cause problems for other web servers.
> Is this the right solution?
This is exactly how I'm doing this for the wn server.
> Also, if the /var/www and /usr/lib/cgi-bin directories do not exist, am I
> responsible for creating them?
I do in my package.