Find Jobs
Hire Freelancers

TASK - Apache 2.4 - exclude certain GET requests from log

$10-30 USD

Törölve
Kiadva ekkor: körülbelül 5 évvel ezelőtt

$10-30 USD

Teljesítéskor fizetve
Environment CentOS 7.6 Server version: Apache/2.4.6 (CentOS) installed from CentOS base repository using yum LogFormat "%h %l %u %t \"%m %V%U %H\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined CustomLog /var/log/httpd/access_log combined env=!dontlog Problem description EXAMPLE 1 - OK SetEnvIf Request_URI "\.png$|\.gif$|\.jpg$|\.jpeg$|\.js$|\.css|\.woff$" dontlog everything is ok, it excludes from Apache log the lines like [login to view URL] - - [27/Oct/2018:14:07:19 -0500] "GET [login to view URL] HTTP/1.1" 200 3412 "[login to view URL]" "Mozilla/5.0 (Windows NT 10.0; rv:56.0) Gecko/20100101 Firefox/56.0" EXAMPLE 2 - PROBLEM SetEnvIf Request_Method "GET(.*)/maxtop\.php$" dontlog does NOT exclude from Apache log the lines like [login to view URL] - - [27/Oct/2018:14:07:19 -0500] "GET [login to view URL] HTTP/1.1" 200 3412 "[login to view URL]" "Mozilla/5.0 (Windows NT 10.0; rv:56.0) Gecko/20100101 Firefox/56.0" The task is to create a rule to exclude the records matching GET [login to view URL] from Apache logging. I mean do not log exactly such the records but not all "GET" requests. This is a little more complex than a simple SetEnvIf directive where I could manage myself :) I do not provide an access to my server because this problem can be easily emulated on any localhost. Most of all the solution is SetEnvIfExpr Directive [login to view URL] and [login to view URL] If you're ready to solve the matter - welcome to contract. If you have a solution right now - please send me, I test it and pay immediately.
Projektazonosító: 18498802

A projektről

3 ajánlat
Távolról teljesíthető projekt
Aktiválva: 5 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
3 szabadúszó adott átlagosan $22 USD összegű árajánlatot erre a munkára
Felhasználó avatár
hy, it seems i know the problem when looking at your description, contact me for further information br, hilman
$15 USD 1 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

LATVIA zászlója
Riga, Latvia
0,0
0
Tagság kezdete: jan. 10, 2019

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.