[GLLUG] Apache 1.3.31 server side includes

Charles Ulrich dincht at securenym.net
Tue Mar 22 22:31:47 EST 2005


On Tuesday 22 March 2005 12:15, David Silva Smith wrote:
> I'm thinking the mod_include isn't loading properly...
> Is there anyway to check which modules are running?

Apache 2.x has a module called mod_info that will print server statistics if 
setup properly. (Not 100% sure if Apache 1.3 has this, though I believe it 
does.) In httpd.conf, make sure mod_info is loaded and add or uncomment the 
following lines to enable a URL to the info page:

<Location /server-info>
    SetHandler server-info
    Order deny,allow
    Deny from all
    Allow from 192.168.0.
</Location>

This will give you all kinds of info about the server and, more importantly, 
the modules which are currently loaded. You'd have to change the "Allow from" 
line to match your local network or set it to the exact IP you're connecting 
from. You can allow from all, but be sure to comment it out and restart once 
you're all done.

Charles
-- 
http://bityard.net



More information about the linux-user mailing list