Author Topic: How to eneble Mod's  (Read 15226 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
How to eneble Mod's
« on: February 27, 2018, 02:17:40 PM »
How can i install and enable these modules  :-\

mod_deflate, mod_expires, mod_headers, mod_mime, mod_rewrite.

My httpd.conf
Code: [Select]
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_socache_module modules/mod_authn_socache.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_form_module modules/mod_auth_form.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule allowmethods_module modules/mod_allowmethods.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cache_disk_module modules/mod_cache_disk.so
#LoadModule cache_socache_module modules/mod_cache_socache.so
#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule macro_module modules/mod_macro.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule dumpio_module modules/mod_dumpio.so
#LoadModule buffer_module modules/mod_buffer.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule request_module modules/mod_request.so
#LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule sed_module modules/mod_sed.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule mime_module modules/mod_mime.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
#LoadModule remoteip_module modules/mod_remoteip.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so
#LoadModule session_module modules/mod_session.so
#LoadModule session_cookie_module modules/mod_session_cookie.so
#LoadModule session_crypto_module modules/mod_session_crypto.so
#LoadModule session_dbd_module modules/mod_session_dbd.so
#LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
LoadModule unixd_module modules/mod_unixd.so
#LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule info_module modules/mod_info.so
#LoadModule suexec_module modules/mod_suexec.so
#LoadModule cgid_module modules/mod_cgid.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
#LoadModule actions_module modules/mod_actions.so
#LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so

error that i get from opencart
 Applying .htaccess rules for compression/browser cache is not compatible with your server setup. Please make sure you have the following Apache modules enabled: mod_deflate, mod_expires, mod_headers, mod_mime, mod_rewrite.
« Last Edit: February 27, 2018, 02:59:11 PM by Sijmen-NL »

Re: How to eneble Mod's
« Reply #1 on: February 27, 2018, 03:26:13 PM »
Remove the comment (#) from the modules to be loaded, save the file, restart httpd

Offline
*
Re: How to eneble Mod's
« Reply #2 on: February 28, 2018, 09:07:23 AM »
done that see my first post httpd.conf even did a server reboot

Code: [Select]
Server version: Apache/2.4.29 (Unix)
Server built:   Feb 14 2018 13:01:48

Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 deflate_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 expires_module (shared)
 headers_module (shared)
 unique_id_module (shared)
 setenvif_module (shared)
 version_module (shared)
 proxy_module (shared)
 proxy_connect_module (shared)
 proxy_http_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 userdir_module (shared)
 alias_module (shared)
 rewrite_module (shared)
 security2_module (shared)
 pagespeed_module (shared)
 ssl_module (shared)
 suphp_module (shared)
« Last Edit: February 28, 2018, 09:24:55 AM by Sijmen-NL »

Offline
***
Re: How to eneble Mod's
« Reply #3 on: February 28, 2018, 09:36:00 AM »
all modules are loading fine. which module is missing?

Offline
*
Re: How to eneble Mod's
« Reply #4 on: February 28, 2018, 03:36:19 PM »
Applying .htaccess rules for compression/browser cache is not compatible with your server setup. Please make sure you have the following Apache modules enabled: mod_deflate, mod_expires, mod_headers, mod_mime, mod_rewrite.

Re: How to eneble Mod's
« Reply #5 on: February 28, 2018, 04:02:26 PM »
It might be that opencart is trying to read/gather data/information from the httpd standard directory -> etc/httpd. Quite a few apps with dependency on httpd just assume the standard httpd installation path and do not recognize cwp-httpd as actual httpd.

The httpd provided by CWP is somewhat tailored, called cwp-httpd and installed in -> /usr/local/apache.

Offline
***
Re: How to eneble Mod's
« Reply #6 on: February 28, 2018, 05:00:09 PM »
can you try to recompile apache and check

Re: How to eneble Mod's
« Reply #7 on: February 28, 2018, 07:04:13 PM »

Offline
*
Re: How to eneble Mod's
« Reply #8 on: March 01, 2018, 04:52:32 PM »
rebuild the apache this is the log

link to the log
https://coronagroep.stackstorage.com/s/Ja6Gga00zFnNwUK

Offline
***
Re: How to eneble Mod's
« Reply #9 on: March 01, 2018, 05:40:36 PM »
its password protected.

Offline
*
Re: How to eneble Mod's
« Reply #10 on: March 01, 2018, 08:57:04 PM »