2014-09-04 4:19 GMT+02:00 Harry Putnam <rea...@newsguy.com>:

> Bzzzz <lazyvi...@gmx.com> writes:
>
> > On Wed, 03 Sep 2014 20:55:19 -0400
> > Harry Putnam <rea...@newsguy.com> wrote:
> >
> >> what is the name of cgi module?  That would be very useful for the
> >> `a2enmod' cmd.  And for something real simple like making sure it is
> >> installed.
> >>
> >> I see several files in [...]/mods-available with the string `cgi' in
> >> them.  None of those show up in [...]/mods-enabled.
> >
> > a2enmod is just for that: creating a symlink from mods-available
> > to mods-enabled (usually needs a restart).
> >
> > You could:
> > cd mods-available
> > grep <filename> /var/lib/dpkg/info/*ist
> >
> > which will return <the name of the pkg containing this module>.list;
> > if it doesn't talk by itself, check what your pkg manager description
> > says about it.
>
> Thanks for the push... Tinkering with your suggestion lead me to read
> the `LoadModule' lines on the files in mods-available.
>
> The line in cgi.load:
>   LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
>
> Looked the most promising, so I tried:
>
>    a2enmod cgi.load
>
> But it told me my MPM(?) seemed to be threaded so it gave me `cgid.conf'
> and `cgid.load'... and away it went... cgi firing on all 8 cylinders.


beware that ​a2enmod doesn't require extension​
eg. a2enmod cgi.load won't work cause the module is 'cgi', symlink is
created for both .conf and .load in /etc/apache2/mods-enabled/

hint: enable bash completion, a2enmod completes available module

Reply via email to