• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Missing handler in Apache web server setting

Nullmind

New Pleskian
I've installed mod_autoindex and mod_dir with apxs command, checked if LoadModule is in httpd.conf file and all seems ok to me, but still can't seen the correspondent module handler in "Apache Web Server Setting".

I've followed this guide https://kb.plesk.com/121064

I'm on Centos 7 and Plesk 12.5.30

Code:
# cat /etc/httpd/conf/httpd.conf | grep LoadModule
# have to place corresponding `LoadModule' lines at this location so the
# LoadModule foo_module modules/mod_foo.so
LoadModule autoindex_module   /usr/lib64/httpd/modules/mod_autoindex.so
LoadModule dir_module         /usr/lib64/httpd/modules/mod_dir.so
[root generators]# service httpd reload

Code:
# apxs -i -a -c mod_autoindex.c

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic  -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1   -c -o mod_autoindex.lo mod_autoindex.c && touch mod_autoindex.slo
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now   -o mod_autoindex.la  -rpath /usr/lib64/httpd/modules -module -avoid-version    mod_autoindex.lo
/usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool' mod_autoindex.la /usr/lib64/httpd/modules
/usr/lib64/apr-1/build/libtool --mode=install install mod_autoindex.la /usr/lib64/httpd/modules/

libtool: install: install .libs/mod_autoindex.so /usr/lib64/httpd/modules/mod_autoindex.so
libtool: install: install .libs/mod_autoindex.lai /usr/lib64/httpd/modules/mod_autoindex.la
libtool: install: install .libs/mod_autoindex.a /usr/lib64/httpd/modules/mod_autoindex.a
libtool: install: chmod 644 /usr/lib64/httpd/modules/mod_autoindex.a
libtool: install: ranlib /usr/lib64/httpd/modules/mod_autoindex.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/lib64/httpd/modules

----------------------------------------------------------------------

Libraries have been installed in: /usr/lib64/httpd/modules

Code:
# apxs -c -i -a mod_dir.c
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic  -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1   -c -o mod_dir.lo mod_dir.c && touch mod_dir.slo
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now   -o mod_dir.la  -rpath /usr/lib64/httpd/modules -module -avoid-version    mod_dir.lo
/usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool' mod_dir.la /usr/lib64/httpd/modules
/usr/lib64/apr-1/build/libtool --mode=install install mod_dir.la /usr/lib64/httpd/modules/
libtool: install: install .libs/mod_dir.so /usr/lib64/httpd/modules/mod_dir.so
libtool: install: install .libs/mod_dir.lai /usr/lib64/httpd/modules/mod_dir.la
libtool: install: install .libs/mod_dir.a /usr/lib64/httpd/modules/mod_dir.a
libtool: install: chmod 644 /usr/lib64/httpd/modules/mod_dir.a
libtool: install: ranlib /usr/lib64/httpd/modules/mod_dir.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/lib64/httpd/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib64/httpd/modules

Schermata 2016-09-27 alle 19.39.26.jpg

Between modules autoindex and dir is missing in handler and not loaded with apache as you can see with transfer precheck

Schermata 2016-09-27 alle 19.43.33.jpg
 
I did nothing on default 12.5 installation on CentOS7 server and I see that these modules are loaded by default:

[root@a10-52-63-116 ~]# httpd -M | grep autoindex
autoindex_module (shared)

[root@a10-52-63-116 ~]# httpd -M | grep dir
dir_module (shared)

Do you have the same output?
 
Back
Top