Author Topic: mod_expire module is not enabled from Apache recompile  (Read 12493 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
mod_expire module is not enabled from Apache recompile
« on: December 10, 2014, 07:13:07 PM »
Hello,
      I am not able to enable  mod_expire from Apache recompile. After starting the recompilation the module mod_expire is not coming to list of modules enabled on this server.
Please help me to solve this problem.

Thanks
Sudip Maity

Offline
*
Re: mod_expire module is not enabled from Apache recompile
« Reply #1 on: December 15, 2014, 02:03:49 AM »
for which php version ? (you should use 5.4)
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: mod_expire module is not enabled from Apache recompile
« Reply #2 on: December 14, 2015, 03:06:59 AM »
Same problem =/
When I insert
Code: [Select]
LoadModule expire_module modules/mod_expire.sointo > /usr/local/apache/conf/httpd.conf
it says:
Code: [Select]
Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_expire.so into server: /usr/local/apache/modules/mod_expire.so: cannot open shared object file: No such file or directory
I've tried
Code: [Select]
sudo yum install httpd mod_expirebut it had no effect.

Loaded Modules:
Code: [Select]
$ /usr/local/apache/bin/httpd -M | sort
Syntax OK
 actions_module (static)
 alias_module (static)
 asis_module (static)
 auth_basic_module (static)
 authn_default_module (static)
 authn_file_module (static)
 authz_default_module (static)
 authz_groupfile_module (static)
 authz_host_module (static)
 authz_user_module (static)
 autoindex_module (static)
 cgi_module (static)
 core_module (static)
 deflate_module (static)
 dir_module (static)
 env_module (static)
 filter_module (static)
 http_module (static)
 include_module (static)
 log_config_module (static)
 mime_module (static)
 mpm_prefork_module (static)
 negotiation_module (static)
 rewrite_module (static)
 setenvif_module (static)
 so_module (static)
 ssl_module (static)
 status_module (static)
 suexec_module (static)
 suphp_module (shared)
 unique_id_module (static)
 userdir_module (static)
 version_module (static)

No matter where I put
Code: [Select]
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A3600
</IfModule>
it does not work - the expire module is just not there.
How can I install it??
THANK YOU FOR YOUR HELP!!

PHP Version: 5.4.27
Apache version: Apache/2.2.27
Distro Name: CentOS release 6.7 (Final)
Kernel Version: 2.6.32-042stab111.12
Platform: x86_64 [vmwareopenvz]
CWP version: 0.9.8.10

Offline
*
Re: mod_expire module is not enabled from Apache recompile
« Reply #3 on: December 15, 2015, 06:53:21 AM »
have you used apache rebuilder in CWP, there you have info on how to enable it ?
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: mod_expire module is not enabled from Apache recompile
« Reply #4 on: December 15, 2015, 09:59:47 AM »
I have a very small VPS with no backup, so I am a little afraid the server might fail when I recompile.
And with ~10 websites on it, it don't want to risk it.

But If you say I'll get the mod_expire.c enabled when I recompile I would probably do it.

have you used apache rebuilder in CWP, there you have info on how to enable it ?

Where is this info supposed to be?
On the page "index.php?module=apache_builder" I see only this>



THANK YOU!
Ben