Hola, estoy estancado no se como instalar el modulo o si esta activarlo. Sigo el tutorial de:
http://forum.directadmin.com/showthread.php?t=126&s=
Código BASH:
Ver originalcd /root
wget http://aleron.dl.sourceforge.net/sou...-1.3.26.1a.tgz
tar zfx mod_gzip-1.3.26.1a.tgz
cd mod_gzip-1.3.26.1a
You must now open Makefile in your favorite editor and change the first line to:
APXS?=/usr/sbin/apxs
Save it, and continue:
<<<<----------------------------------------------- ACA ES DONDE FALLO Next, open /etc/httpd/conf/httpd.conf in your favorite editor. The installer has already modified the httpd.conf file for you, but you'll need to make some minor changes. When you reach the LoadModule section of httpd.conf, find the mod_gzip line (commented out) and delete it. After all the LoadModules, paste:
Código BASH:
Ver originalLoadModule gzip_module /usr/lib/apache/mod_gzip.so
#LoadModule frontpage_module /usr/lib/apache/mod_frontpage.so
LoadModule perl_module /usr/lib/apache/libperl.so
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_minimum_file_size 300
mod_gzip_maximum_file_size 0
mod_gzip_maximum_inmem_size 100000
mod_gzip_item_include file \.htm$
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.shtml$
mod_gzip_item_include file \.shtm$
mod_gzip_item_include file \.jsp$
mod_gzip_item_include file \.php$
mod_gzip_item_include file \.pl$
mod_gzip_item_include file \.cgi$
mod_gzip_item_include mime text/.*
mod_gzip_item_include mime ^application/x-httpd-php
mod_gzip_item_include mime httpd/unix-directory
mod_gzip_item_include handler ^perl-script$
mod_gzip_item_include handler ^server-status$
mod_gzip_item_include handler ^server-info$
mod_gzip_item_exclude file .css$
mod_gzip_item_exclude file .js$
#mod_gzip_item_exclude mime ^image/.*
mod_gzip_dechunk yes
mod_gzip_temp_dir /tmp
mod_gzip_keep_workfiles No
mod_gzip_can_negotiate yes
mod_gzip_send_vary Off
mod_gzip_item_exclude mime ^image/.$
mod_gzip_item_exclude mime ^image/
mod_gzip_item_exclude rspheader Content-Type:image/*
</IfModule>
Scroll down a bit future and find the AddModule section of httpd.conf. At the end, remove the mod_gzip line (commented out), and below all the AddModules, paste this:
Code:
Save httpd.conf and exit the editor. Finally, restart Apache (/etc/rc.d/init.d/httpd restart).
-----------------------------------------------------------------
Bueno donde fallo es ahí donde les marque donde tengo que cambiar una linea dentro del archivo
Makefile edito el Archivo por consola "Terminal" y lo guardo al cambio. Modificando la primera linea como dice el tutorial.
Me dice que cambie la primera linea por esta
APXS?=/usr/sbin/apxs y la Linea original es
APXS?=/usr/local/sbin/apxs El error es el siguiente:
Código BASH:
Ver original[root@ns1 mod_gzip-1.3.26.1a]# make build
/usr/sbin/apxs -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so
/var/www/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -I/usr/local/include -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -Wall,-O3,-fomit-frame-pointer,-pipe -c -o mod_gzip.lo mod_gzip.c && touch mod_gzip.slo
cc1: error: no se reconoce la opción de línea de comando "-Wall,-O3,-fomit-frame-pointer,-pipe"
apxs:Error: Command failed with rc=65536
.
make: *** [build] Error 1
Y intentando nomas intento ingresar
make install y me arroja el siguiente error:
Código BASH:
Ver original[root@ns1 mod_gzip-1.3.26.1a]# make install
/usr/sbin/apxs -A -i mod_gzip.so
apxs:Error: Sorry, cannot determine bootstrap symbol name.
apxs:Error: Please specify one with option `-n'.
make: *** [install] Error 1
[root@ns1 mod_gzip-1.3.26.1a]#
Algunos Datos:
CentOS 6.7 32bits
DirectAdmin 1.44.3
Apache 2.2.31
Si falta algun dato me lo piden que con gustos se los daré. Ante todo disculpen el desorden y que sea tan extenso quería ser lo mas claro posible. Desde ya gracias.