[ https://www.modsecurity.org/tracker/browse/MODSEC-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Breno Silva Pinto resolved MODSEC-137.
--------------------------------------
Resolution: Won't Fix
> mlogc conf file should default
> ------------------------------
>
> Key: MODSEC-137
> URL: https://www.modsecurity.org/tracker/browse/MODSEC-137
> Project: ModSecurity
> Issue Type: Improvement
> Security Level: Normal
> Components: Mlogc
> Affects Versions: 2.5.12
> Environment: Windows (applies to any platform) - mod_security-2.5.12
> Reporter: Tom Donovan
> Assignee: Breno Silva Pinto
> Priority: Wish
> Fix For: 2.7.0
>
>
> It requires a .bat file to pass command arguments to a piped log on Windows. If argc < 2 (i.e. piped to just the program name) it would be better to default to a config file in the standard Apache conf/ directory. The -h switch can still be used for the usage display.
> in apache2\mlogc-src\mlogc.c function main()
> /* Conf file is last - defaults to conf directory */
> if (argc < 2)
> conffile = "../conf/mlogc.conf";
> else
> conffile = argv[argc - 1];
> This presumes that mlogc.exe ( or mlogc on Unix) is in the Apache bin/ directory and that the config file is in conf/mlogc.conf.
> This code should be removed:
> if (argc < 2) {
> usage();
> logc_shutdown(1);
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|