admin管理员组

文章数量:1384254

I have dozens of VirtualHosts in my server and just one of then is configured with this:

<VirtualHost *:80>
    DocumentRoot "/ebs1/apache/www/html/"
    ServerName localhost
    ServerAlias *.mydomain.br
    ErrorLog "/ebs1/apache/log/error_log_localhost"
    CustomLog "/ebs1/apache/log/access_log_localhost" log_acesso
    
    <IfModule mod_status.c> 
        
        <Location "/xxyy">
            SetHandler server-status
            Order allow,deny
            Deny from none
            Allow from all
        </Location>
 
    </IfModule>
    
</VirtualHost>

When I acess "; it works great, I see lots of information mod_status provides however it's displaying statistics for ALL the domains on my sever, not only for the VirtualHost that I configured above (*.mydomain.br). So how do I make Apache only show statisics for the currently configured VirtualHost?

本文标签: modstatus of Apache with VirtualHostsStack Overflow