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

Bug#470178: apxs2: Installed modules are not available in /etc/apache2/mods-available



Package: apache2-prefork-dev
Version: 2.2.8-1
Severity: normal

Hello,

After installing a module with:
/usr/bin/apxs2 -i -n mymod mod_mymod.la

the module gets installed into:
/usr/lib/apache2/modules
but is not available in
/etc/apache2/mods-available

Now I may have missed some part of the documentation but its not clear
whether one should manually copy the file to /etc/apache2/modules
or rather create a symlink for there to /usr/lib/apache2/modules

Also the -a option reports:
apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..

Maybe comment about where the configuration file for the module should
be created could also be added to apxs2 man page.

Thanks for consideraton,
David Ayers
-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2-prefork-dev depends on:
ii  apache2.2-common           2.2.8-1       Next generation, scalable, extenda
ii  libaprutil1-dev            1.2.12+dfsg-3 The Apache Portable Runtime Utilit
ii  openssl                    0.9.8g-4      Secure Socket Layer (SSL) binary a

apache2-prefork-dev recommends no packages.

-- no debconf information



Reply to: