Bug 3816 - [Enhancement] Nginx default log version does not work with awstats
Summary: [Enhancement] Nginx default log version does not work with awstats
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Rémy CLOUARD (shikamaru)
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, Triaged
Depends on:
Blocks:
 
Reported: 2011-12-19 11:11 CET by Sam Bailey
Modified: 2013-01-09 13:44 CET (History)
2 users (show)

See Also:
Source RPM: nginx
CVE:
Status comment:


Attachments

Description Sam Bailey 2011-12-19 11:11:00 CET
To allow Nginx to log in the apache format that awstats (and others) likes, I suggest changing the default log format as below. 

log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent"';

The normal log format could be commented out to be available if someone wishes to use that instead.
Comment 1 Manuel Hiebel 2011-12-19 11:48:13 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => shikamaru
Source RPM: (none) => nginx

Thierry Vignaud 2011-12-19 17:45:17 CET

CC: (none) => thierry.vignaud

Comment 2 Marja Van Waes 2012-05-26 13:10:25 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 3 roelof Wobben 2013-01-09 13:44:30 CET
Close this as old because there is no respons in half a year.
When someone wants to reopen it please provide details as the version of
mageia
 
Roelof

Status: NEW => RESOLVED
CC: (none) => r.wobben
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.