No Optimize Website Icon Under Software Tab in Cpanel

basshook

Active Member
Jul 27, 2006
25
0
151
Hey guys, I've been unable to figure out why my accounts when viewed in cpanel aren't showing the optimize website icon under the software tab or any other for that matter. I have the box checked in all my feature packages and deflate is confirmed as part of my easy apache setup. I've also read through countless threads on subjects related to issues with the optimize website option with no luck, but I don't have the actual icon to click to see if it works or not. I have checked my server url in an online site that tells me that the site is not compressed. Am I missing another config step somewhere in whm? Any ideas are greatly appreciated.

Server info:
CENTOS 6.5 i686 standard
WHM 11.44.1 (build 18)
Apache version 2.2.25
PHP version 5.3.27
MySQL version 5.5.37-cll
Architecture i686
Operating system linux
Kernel version 2.6.32-358.18.1.el6.i686
cPanel Pro 1.0 (RC1)
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

I think mod_deflate is not installed on your server and due to that you are getting this issues. can you please check the mod_deflate modules on your server with the following command

Code:
httpd -M | grep mod_deflate
 

basshook

Active Member
Jul 27, 2006
25
0
151
When I used the ssh command you provided I got a "Syntax Ok" message so is it ok too assume that mod_deflate is installed. I am not too experienced with ssh commands yet.
 

ES - George

Well-Known Member
PartnerNOC
Jun 12, 2011
178
25
78
UK
cPanel Access Level
DataCenter Provider
Twitter
I believe 24x7server was mistaken, deflate_module is what you should be using. Here's what I get on a machine with mod_deflate (aka "Optimize Website") loaded:

[email protected] [~]# httpd -M | grep deflate
deflate_module (static)
[email protected] [~]#
If you don't see the same output as shown above, you need to rebuild Apache (/scripts/easyapache via SSH or WHM --> Software --> EasyApache (Apache Update)) and select Deflate (under 4. Exhaustive Options List).
 

basshook

Active Member
Jul 27, 2006
25
0
151
Thanks for the reply but I get the same message using your ssh command. I have double checked my easy apache profile and it shows that deflate is installed (see screenshots). Is it possible that easy apache is not showing the proper results? Can I confirm this by viewing my httpd config file?

ScreenHunter_43-Sep.-28-21.jpg

ScreenHunter_44-Sep.jpg
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello :)

That image shows it's enabled in the profile, but it does not mean it's compiled with Apache. Could you run an EasyApache build and let us know if the issue persists?

Thank you.
 

basshook

Active Member
Jul 27, 2006
25
0
151
It failed so I submitted a ticket. I never like doing easy apache it always fails for me and I have to get someone to fix it everytime it seems.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
The EasyApache build logs are located in:

/usr/local/cpanel/logs/easy/apache/

Feel free to review the specific build log and let us know the error it failed with. Or, you can update your support ticket with authentication details so we can take a closer look.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
To update, it looks like EasyApache failed to complete due to some invalid custom Mod_Security rules in-place. Disabling those rules allowed EasyApache to complete successfully. The following document is a good resource on understanding the module:

EasyApache - Mod_Security

Thank you.
 

basshook

Active Member
Jul 27, 2006
25
0
151
I finally got things sorted out with my mod security rules package interfering with my easy apache upgrades. There were other errors also that were contributing but I'm not sure what they were as I had a tech guy do the work for me as it was above my skill set. Thanks to those who replied and cPanel support who, even though it was a third party issue helped me anyways. Much appreciated. :)
 
Last edited: