Welcome! Log In Create A New Profile

Advanced

Re: conflicting rules

October 05, 2017 03:15PM
1 - If I disable that section


#location ~* ^.+\.(css|js)$|^/(css|Scripts|uploads)/ {
#expires -1;
#access_log off;
#log_not_found off;
#}

location = /Scripts/awstats_misc_tracker.js {
access_log on;
}

the javascript are shown in the log. /Scripts/awstats_misc_tracker.js isn't though.

2 - Now if also disable that section, /Scripts/awstats_misc_tracker.js is finally showing so something else must be conflicting

#location = /Scripts/awstats_misc_tracker.js {
#access_log on;
#}

~:/var/log# grep awstat nginx/access.log
xx.xx.xx.xxx - - [05/Oct/2017:12:08:31 -0700] "GET /Scripts/awstats_misc_tracker.js HTTP/1.0"
Subject Author Posted

conflicting rules

shiz October 05, 2017 02:25PM

Re: conflicting rules

Igal @ Lucee.org October 05, 2017 02:30PM

Re: conflicting rules

shiz October 05, 2017 02:40PM

Re: conflicting rules

Igal @ Lucee.org October 05, 2017 02:42PM

Re: conflicting rules

shiz October 05, 2017 02:50PM

Re: conflicting rules

Francis Daly October 05, 2017 04:32PM

Re: conflicting rules

shiz October 05, 2017 03:15PM

Re: conflicting rules

Igal @ Lucee.org October 05, 2017 03:20PM

Re: conflicting rules

shiz October 05, 2017 03:22PM

Re: conflicting rules

shiz October 05, 2017 04:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 106
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready