ebird
01-03-2002, 11:27 PM
Hi,
I think I saw something here but I couldn't find it.
How to check whether mod gzip is installed on one server or not?
Thanks.
ffeingol
01-04-2002, 12:13 AM
Well if you have access to the httpd.conf you can just look :D.
You can also use netcraft (http://uptime.netcraft.com/up/graph/) to query the server and see if mod_gzip shows.
Frank
eva2000
01-04-2002, 01:23 AM
http://leknor.com/code/gziped.php
ebird
01-04-2002, 03:21 AM
leknor is the one I am missing, and the netcraft also get things done.
Thanks.
priyadi
01-04-2002, 03:53 AM
You can always telnet to it directly:
$ telnet example.com 80
GET / HTTP/1.1
Host: example.com
Accept-encoding: compress, gzip
(press enter twice)
If garbage shows up, then you have mod_gzip installed and working :)
Newbie
01-04-2002, 09:52 PM
Make a page with nothing but this below.
<?php
phpinfo();
?>
save the page as phpinfo.php
upload it, and enter the URL where the page is, It will show a list of modules loaded on the server, plus alot of other usefull information.
priyadi
01-05-2002, 01:52 AM
Originally posted by Newbie
Make a page with nothing but this below.
<?php
phpinfo();
?>
save the page as phpinfo.php
upload it, and enter the URL where the page is, It will show a list of modules loaded on the server, plus alot of other usefull information.
Yes, it will display all installed php modules. But mod_gzip is not a php module, it is an Apache module :rolleyes:
serve-you
01-05-2002, 02:06 AM
Originally posted by priyadi
Yes, it will display all installed php modules. But mod_gzip is not a php module, it is an Apache module :rolleyes:
There is a section of phpinfo called "Apache Environment" in that section, there is a line that says SERVER_SOFTWARE. mod_gzip will be listed there if it's installed.
-Dan