как фильтровать только порт 80 и 443 в mod_status apache?

Есть ли способ отображать только запросы порта 80 и 443 при просмотре / server-status в mod_status ?

Мой файл /etc/apache2/mods-available/status.conf:

<IfModule mod_status.c>
        # Allow server status reports generated by mod_status,
        # with the URL of http://servername/server-status
        # Uncomment and change the "192.0.2.0/24" to allow access from other hosts.

        <Location /server-status>
                SetHandler server-status
                #Require local
                #Require ip 192.0.2.0/24
 Order allow,deny
    Allow from all
        </Location>

        # Keep track of extended status information for each request
        ExtendedStatus On

        # Determine if mod_status displays the first 63 characters of a request or
        # the last 63, assuming the request itself is greater than 63 chars.
        # Default: Off
        #SeeRequestTail On


        <IfModule mod_proxy.c>
                # Show Proxy LoadBalancer status in mod_status
                ProxyStatus On
        </IfModule>


</IfModule>

Спасибо.

0
задан 1 June 2016 в 17:07
1 ответ

Думаю, что нет.

Статус сервера - это видеть - как говорится в названии - информацию о сервере Apache и о конкретных страницах или порте.

Может быть, "apachetop" сможет вам помочь.

.
1
ответ дан 4 December 2019 в 16:36

Теги

Похожие вопросы