LoadModule mod_xmlent /usr/lib/apache2/modules/mod_xmlent.so
Jeg har prøvet at sætte dette ind i httpd.conf i /etc/apache2
og jeg får så stadig denne fejl:
apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
Jeg har Google det men kan ikke finde noget om det. Kan det være en mappe jeg skal oprette?
Det er sikkert at det står noget i httpd.conf. Den fylder 60 byte.
Hele teksten som kommer når jeg skriver kommandoen:
kevinish:/tmp# apxs2 -a -i -l cap -c /tmp/mod_ruid-0.6/mod_ruid.c/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/postgresql -I/usr/include/mysql -c -o /tmp/mod_ruid-0.6/mod_ruid.lo /tmp/mod_ruid-0.6/mod_ruid.c && touch /tmp/mod_ruid-0.6/mod_ruid.slo/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i486-linux-gnu-gcc -o /tmp/mod_ruid-0.6/mod_ruid.la -lcap -rpath /usr/lib/apache2/modules -module -avoid-version /tmp/mod_ruid-0.6/mod_ruid.lo/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' /tmp/mod_ruid-0.6/mod_ruid.la /usr/lib/apache2/modules/usr/share/apr-1.0/build/libtool --mode=install cp /tmp/mod_ruid-0.6/mod_ruid.la /usr/lib/apache2/modules/cp /tmp/mod_ruid-0.6/.libs/mod_ruid.so /usr/lib/apache2/modules/mod_ruid.socp /tmp/mod_ruid-0.6/.libs/mod_ruid.lai /usr/lib/apache2/modules/mod_ruid.laPATH="$PATH:/sbin" ldconfig -n /usr/lib/apache2/modules----------------------------------------------------------------------Libraries have been installed in: /usr/lib/apache2/modules
If you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pathname of the library, or use the `-LLIBDIR'flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.----------------------------------------------------------------------chmod 644 /usr/lib/apache2/modules/mod_ruid.soapxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..apxs:Error: At least one `LoadModule' directive already has to exist..