[thelist] <limit> and server-status
Daniel J. Cody
djc at five2one.org
Sat Jul 29 15:08:31 CDT 2000
CDitty wrote:
>
> Can anyone help me in installing and using the server-info handler? When I
> add this to my httpd.conf file, my server becomes useless.
> #<Location /server-info>
> SetHandler server-info
> #</Location>
take out the '#' signs.. they're commenting out the <location> tags, so
thats why apache is breaking
> I have the right module installed. Looking over my Apache book, it suggest
> that I use <Limit> tags. Would this allow me to access this like
> http://www.mydomain.com/server-info ? If so, can someone give me an
> example of what the Limit tag would be?
Here's what you should have:
<Location /server-info>
SetHandler server-info
Order deny, allow
Deny from all
Allow from .yourdomain.org
</Location>
note the leading . in yourdomain.org - that *has* to be there.. After
you add the above to your httpd.conf file, restart apache and you should
be good to go
Shout ifyou have more questions :)
.djc.
More information about the thelist
mailing list