New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Enable mod_deflate

Started by thiago, November 03, 2014, 03:09:02 PM

Previous topic - Next topic

thiago

Hi !

I can enable mod_deflate in Apache?

Thanks !

Administrator

you can enable any module you need in the apache reBuilder.

thiago

Hi,

After this, i have the following error:

"Starting httpd: [Thu Nov 06 04:46:11 2014] [warn] VirtualHost myIP:82 overlaps with VirtualHost myIP:82, the first has precedence, perhaps you need a NameVirtualHost directive
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs"


I'm running Apache in port 82 ip myIP and Varnish in port 80.

  • I modify usr/local/apache/conf/httpd.conf and set Listen 80 to Listen 82;
  • I have to insert NameVirtualHost myIP:82 in Edit Apache vHosts:

NameVirtualHost myIP:82

# vhost_start myDomain.com.br
<VirtualHost myIP:82>
ServerName myDomain.com.br
ServerAlias www.myDomain.com.br
...


And Apache start without error or warning.

Administrator

if you have changed port in the varnish configuration then all ports should be updated.
if needed you can use rebuild apache vhosts as an option