Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Apache status (http://www.linux-archive.org/gentoo-user/82032-apache-status.html)

Adam Carter 05-05-2008 04:09 AM

Apache status
 
I'm running Apache 2.2.8 and want the status info, so i need to add

<Location /server-status>
SetHandler server-status

Order Deny,Allow
Deny from all
Allow from .foo.com
</Location>

But, in httpd.conf
<IfDefine INFO>
LoadModule status_module modules/mod_status.so
</IfDefine>

So what's the syntax to define INFO?

Cheers,
Adam
--
gentoo-user@lists.gentoo.org mailing list

deface 05-05-2008 04:54 AM

Apache status
 
Adam Carter wrote:

I'm running Apache 2.2.8 and want the status info, so i need to add

<Location /server-status>
SetHandler server-status

Order Deny,Allow
Deny from all
Allow from .foo.com
</Location>

But, in httpd.conf
<IfDefine INFO>
LoadModule status_module modules/mod_status.so
</IfDefine>

So what's the syntax to define INFO?

Cheers,
Adam


use /etc/conf.d/apache2 .. add -D INFO to your APACHE2_OPTS

--
gentoo-user@lists.gentoo.org mailing list


All times are GMT. The time now is 11:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.