Validate and install mod_*

Discussion in 'ISPConfig 3 Priority Support' started by jpcyrenne, Oct 20, 2019.

  1. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good day,
    Running ISPConfig Version: 3.1.14p2 on Ubuntu 18.04.2 LTS.

    My request is how can I :
    A) install what is missing
    B) and how can I validate it works against the customer's capture? (she says it doesn't)

    A customer with a WP site has sent me this:
    upload_2019-10-20_17-6-20.png

    After looking around, it's my understanding that mod_rewrite, mod_mime and mod_deflate (for example) are present (in [email protected]:/etc/apache2/mods-enabled)? They all seem to be in : /usr/lib/apache2/modules/

    [email protected]:/etc/apache2/mods-enabled# ll
    total 8
    drwxr-xr-x 2 root root 4096 Aug 3 16:57 ./
    drwxr-xr-x 8 root root 4096 Oct 20 17:04 ../
    lrwxrwxrwx 1 root root 36 Aug 3 16:54 access_compat.load -> ../mods-available/access_compat.load
    lrwxrwxrwx 1 root root 30 Aug 3 16:55 actions.conf -> ../mods-available/actions.conf
    lrwxrwxrwx 1 root root 30 Aug 3 16:55 actions.load -> ../mods-available/actions.load
    lrwxrwxrwx 1 root root 28 Aug 3 16:54 alias.conf -> ../mods-available/alias.conf
    lrwxrwxrwx 1 root root 28 Aug 3 16:54 alias.load -> ../mods-available/alias.load
    lrwxrwxrwx 1 root root 33 Aug 3 16:54 auth_basic.load -> ../mods-available/auth_basic.load
    lrwxrwxrwx 1 root root 34 Aug 3 16:55 auth_digest.load -> ../mods-available/auth_digest.load
    lrwxrwxrwx 1 root root 33 Aug 3 16:54 authn_core.load -> ../mods-available/authn_core.load
    lrwxrwxrwx 1 root root 33 Aug 3 16:54 authn_file.load -> ../mods-available/authn_file.load
    lrwxrwxrwx 1 root root 33 Aug 3 16:54 authz_core.load -> ../mods-available/authz_core.load
    lrwxrwxrwx 1 root root 33 Aug 3 16:54 authz_host.load -> ../mods-available/authz_host.load
    lrwxrwxrwx 1 root root 33 Aug 3 16:54 authz_user.load -> ../mods-available/authz_user.load
    lrwxrwxrwx 1 root root 32 Aug 3 16:54 autoindex.conf -> ../mods-available/autoindex.conf
    lrwxrwxrwx 1 root root 32 Aug 3 16:54 autoindex.load -> ../mods-available/autoindex.load
    lrwxrwxrwx 1 root root 26 Aug 3 16:55 cgi.load -> ../mods-available/cgi.load
    lrwxrwxrwx 1 root root 29 Aug 3 16:55 dav_fs.conf -> ../mods-available/dav_fs.conf
    lrwxrwxrwx 1 root root 29 Aug 3 16:55 dav_fs.load -> ../mods-available/dav_fs.load
    lrwxrwxrwx 1 root root 26 Aug 3 16:55 dav.load -> ../mods-available/dav.load
    lrwxrwxrwx 1 root root 30 Aug 3 16:54 deflate.conf -> ../mods-available/deflate.conf
    lrwxrwxrwx 1 root root 30 Aug 3 16:54 deflate.load -> ../mods-available/deflate.load
    lrwxrwxrwx 1 root root 26 Aug 3 16:54 dir.conf -> ../mods-available/dir.conf
    lrwxrwxrwx 1 root root 26 Aug 3 16:54 dir.load -> ../mods-available/dir.load
    lrwxrwxrwx 1 root root 26 Aug 3 16:54 env.load -> ../mods-available/env.load
    lrwxrwxrwx 1 root root 28 Aug 3 16:54 fcgid.conf -> ../mods-available/fcgid.conf
    lrwxrwxrwx 1 root root 28 Aug 3 16:54 fcgid.load -> ../mods-available/fcgid.load
    lrwxrwxrwx 1 root root 29 Aug 3 16:54 filter.load -> ../mods-available/filter.load
    lrwxrwxrwx 1 root root 30 Aug 3 16:55 headers.load -> ../mods-available/headers.load
    lrwxrwxrwx 1 root root 30 Aug 3 16:55 include.load -> ../mods-available/include.load
    lrwxrwxrwx 1 root root 27 Aug 3 16:54 mime.conf -> ../mods-available/mime.conf
    lrwxrwxrwx 1 root root 27 Aug 3 16:54 mime.load -> ../mods-available/mime.load
    lrwxrwxrwx 1 root root 34 Aug 3 16:54 mpm_prefork.conf -> ../mods-available/mpm_prefork.conf
    lrwxrwxrwx 1 root root 34 Aug 3 16:54 mpm_prefork.load -> ../mods-available/mpm_prefork.load
    lrwxrwxrwx 1 root root 34 Aug 3 16:54 negotiation.conf -> ../mods-available/negotiation.conf
    lrwxrwxrwx 1 root root 34 Aug 3 16:54 negotiation.load -> ../mods-available/negotiation.load
    lrwxrwxrwx 1 root root 29 Aug 3 16:54 php7.2.conf -> ../mods-available/php7.2.conf
    lrwxrwxrwx 1 root root 29 Aug 3 16:54 php7.2.load -> ../mods-available/php7.2.load
    lrwxrwxrwx 1 root root 28 Aug 3 16:57 proxy.conf -> ../mods-available/proxy.conf
    lrwxrwxrwx 1 root root 33 Aug 3 16:57 proxy_fcgi.load -> ../mods-available/proxy_fcgi.load
    lrwxrwxrwx 1 root root 28 Aug 3 16:57 proxy.load -> ../mods-available/proxy.load
    lrwxrwxrwx 1 root root 29 Aug 3 16:54 python.load -> ../mods-available/python.load
    lrwxrwxrwx 1 root root 33 Aug 3 16:54 reqtimeout.conf -> ../mods-available/reqtimeout.conf
    lrwxrwxrwx 1 root root 33 Aug 3 16:54 reqtimeout.load -> ../mods-available/reqtimeout.load
    lrwxrwxrwx 1 root root 30 Aug 3 16:55 rewrite.load -> ../mods-available/rewrite.load
    lrwxrwxrwx 1 root root 31 Aug 3 16:54 setenvif.conf -> ../mods-available/setenvif.conf
    lrwxrwxrwx 1 root root 31 Aug 3 16:54 setenvif.load -> ../mods-available/setenvif.load
    lrwxrwxrwx 1 root root 36 Aug 3 16:55 socache_shmcb.load -> ../mods-available/socache_shmcb.load
    lrwxrwxrwx 1 root root 26 Aug 3 16:55 ssl.conf -> ../mods-available/ssl.conf
    lrwxrwxrwx 1 root root 26 Aug 3 16:55 ssl.load -> ../mods-available/ssl.load
    lrwxrwxrwx 1 root root 29 Aug 3 16:54 status.conf -> ../mods-available/status.conf
    lrwxrwxrwx 1 root root 29 Aug 3 16:54 status.load -> ../mods-available/status.load
    lrwxrwxrwx 1 root root 29 Aug 3 16:55 suexec.load -> ../mods-available/suexec.load

    A)
    How do I activate all the above mod_* ? For example, I don't see mod_expires or mod_env in mods-enabled? They are in mods-available...
    Should I do:
    1) a2enmod expires
    2) sim link expires.load -> ../mods-available/expires.load
    3) restart apache : apachectl graceful
    Do this for each?

    B)
    How would I validate this all works against the image capture above? phpinfo() ?
    I already see this in phpinfo()
    - under zlib
    Stream Filter zlib.inflate, zlib.deflate
    - under php variables
    $_SERVER['HTTP_ACCEPT_ENCODING'] gzip, deflate, br

    Thanks ahead,

    JP
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Some of the modules must be enabled, I guess the detection code that your customer sued does not work properly. It has most likely been written to work with mod_php only (which should not be sued for wp) but is not written in a way that it detects properly when it is not even able to detect something. Enable the missing modules with apache a2enmod command, then restart your server and tell your customer that the detection code seems to be wrong and he/she shall just enable the wp module, it should work nonetheless.
     
  3. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    OK will do.
    Thank you Sir!

    JP
     

Share This Page