Welcome! Log In Create A New Profile

Advanced

conflicting rules

October 05, 2017 02:25PM
Hello,

I exclude the stylesheets and javascript from the logs to alleviate them. However I would want to make an exception for awstats.

So far the following doesn't work. Any help?

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

location ~* ^/Scripts/awstats_misc_tracker.js {
access_log on;
}
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: 90
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