Control Web Panel

WebPanel => Apache => Topic started by: thiago on November 03, 2014, 03:09:02 PM

Title: Enable mod_deflate
Post by: thiago on November 03, 2014, 03:09:02 PM
Hi !

I can enable mod_deflate in Apache?

Thanks !
Title: Re: Enable mod_deflate
Post by: Administrator on November 04, 2014, 02:12:14 AM
you can enable any module you need in the apache reBuilder.
Title: Re: Enable mod_deflate
Post by: thiago on November 06, 2014, 10:13:14 AM
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.

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.
Title: Re: Enable mod_deflate
Post by: Administrator on November 07, 2014, 02:48:32 AM
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