htaccess и логи

SS
На сайте с 15.12.2015
Offline
83
749

есть такая штука https://httpd.apache.org/docs/current/mod/mod_log_config.html

в конфиге она настраивается так:

<IfModule log_config_module>

    LogFormat         "%v: %a %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

    LogFormat       "%v: %a %t \"%r\" %>s %b" common

    <IfModule logio_module>

        LogFormat   "%v: %a %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

    </IfModule>

    %log%CustomLog  "%sprogdir%/userdata/logs/%httpdriver%_queriesa.log" combined

</IfModule>

А можно ли ее настроить через htaccess?


mod_log_config - Apache HTTP Server Version 2.4
mod_log_config - Apache HTTP Server Version 2.4
  • httpd.apache.org
Description: Status: Module Identifier: Source File: Summary This module provides for flexible logging of client requests. Logs are written in a customizable format, and may be written directly to a file, or to an external program. Conditional logging is provided so that individual requests may be included or excluded from the logs based on...
Размещение естественных ссылок на тематических порталах, отзовиках, справочниках (/ru/forum/1013919)
E
На сайте с 01.10.2017
Offline
94
#1
Нет. В описании директив такой контекст не указан.
Домены на продажу: https://p20.ru/collection/domains-for-sale
SS
На сайте с 15.12.2015
Offline
83
#2
estic #:
Нет. В описании директив такой контекст не указан.

А где описание директив можно глянуть?

E
На сайте с 01.10.2017
Offline
94
#3
SERM-service #:
А где описание директив можно глянуть?

По вашей ссылке 😀

Чтобы не листать страницу, там справа есть меню "быстрого доступа" к соответствующим фрагментам.

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий