You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Walter Maier Neto <wm...@onmail.com.br> on 2002/09/23 20:08:41 UTC

[users@httpd] [error] Cannot remove module

I compiled mod_gzip.c using  "/usr/sbin/apxs -i -a -c
/usr/src/local/mod_gzip.c"
I made right httpd.conf  (example below);
and in the test "apachectl configtest"
is presenting the error:
"[error] Cannot remove module mod_gzip.c: not found in module list"


Regards ...

Walter Maier Neto

-------httpd.conf------------
LoadModule gzip_module        modules/mod_gzip.so
AddModule mod_gzip.c

LogFormat "%h %l %u %t \"%V %r\" %>s %b mod_gzip: %{mod_gzip_result}n
In:%{mod_gzip_input_size}n
Out:%{mod_gzip_output_size}n:%{mod_gzip_compression_ratio}npct."
common_mod_gzip
CustomLog logs/access_log common_mod_gzip

mod_gzip_on                 Yes
mod_gzip_can_negotiate      Yes
mod_gzip_dechunk            Yes
mod_gzip_minimum_file_size  256
mod_gzip_maximum_file_size  0
mod_gzip_maximum_inmem_size 100000
mod_gzip_keep_workfiles     No
mod_gzip_temp_dir           "/web/gzip"
mod_gzip_item_include       file "\.html$"
mod_gzip_item_include       file "\.txt$"
mod_gzip_item_include       file "\.jsp$"
mod_gzip_item_include       file "\.php$"
mod_gzip_item_include       file "\.pl$"
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/.*
---------------- end httpd.conf -------------


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org