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

Bug#104373: Subdirectory under /usr/lib/cgi-lib should be explicitly allowed



First off, I'm not sure what this discussion has to do with this proposal?
It might just be a tangent prompted by seeing a mention of this part of
Policy, which is fine, but I'm worried that I didn't explain the proposal
very well, since this seems unrelated.

Charles Plessy <plessy@debian.org> writes:
> Le Sat, Jun 12, 2010 at 12:35:41PM -0700, Russ Allbery a écrit :

>> Despite its age, this bug is rather straightforward and is something we
>> really should have fixed years ago.  The current wording around
>> locations of CGI programs implies that subdirectories of
>> /usr/lib/cgi-bin may not be used, but of course this is very widely
>> used in packages already in the archive and works with a typical web
>> server configuration.  Here is a patch that explicitly allows this.

> will web servers find the CGI scripts automagically in
> /usr/lib/cgi-bin/<package>?

That's the implication of this section.  Web servers should be configured
to serve that location by default.  This is pretty widely used already in
Debian.

> There were discussions along those lines on debian-devel a couple of
> monthes ago. I suggest to seriously consider to drop the requirement to
> separate the CGI scripts from the other files of the packaged websites.

I think this is a different question and a different bug.  It's probably
something that we should discuss as part of incorporating the webapps
policy.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: