Re: apache2 what is the standard way to enable modules?
Bob Proulx <bob@proulx.com> writes:
> a2enmod takes a simple name like "cgi" not a name with .load or .conf
> on the end like "cgi.load". You want "a2enmod cgi" without the
> ".load" on the end.
Yeah, I finally got that part.
But still not seeing what is bad about what I did... after all it did
allow the cgi scripts to start working:
>From a previous post:
>> 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.
That last bit was sort of warning I guess and the it proceeded to
create the needed symlinks only with cgid.* in there names.
After that command above, cgi scripts commenced to working. Apparently the
command figured out what needed to be done.
So, anyway... now I know a better and more appropriate command to use.
Thanks to all.
Reply to: