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

Re: apache2 what is the standard way to enable modules?



Bzzzz <lazyvirus@gmx.com> writes:

> On Wed, 03 Sep 2014 20:55:19 -0400
> Harry Putnam <reader@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.


Reply to: