Log authorization errors for bookstack on apache2
I want to set up fail2ban for bookstack, but I can't find invalid login attempts properly. I only see 302 responses in the access.log for my invalid/valid login. Is it possible to get responses like...
View ArticleApache: prime SSL cache or rotatelog?
I found myself in a situation again.And we know google is in love with pages that load fast.Since I run a server with apache and Cpanel, I configured it to rotate apache logs every 24 hours (thats the...
View ArticleForcing HTTP error 421 on all HTTP2 requests
I have Apache 2.4 setup on my server serving webpages with the HTTP 1.1 protocol. The system is currently not ready to handle HTTP2 (please dont ask why).When reviewing server logs, I saw a few of...
View ArticleAH00128: File does not exist - index.html no loading
I want /var/www/thepowerhousemethod.org/public_html/index.html to load. Currently another page is loading instead./var/www/thepowerhousemethod.org/public_html/index.html is displaying in green font on...
View Article--- Article Not Found! ---
*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***
View ArticleWhen does Apache log to access.log - before or after serving the request?
Reading this post "Understanding Apache Access Log" it refers to http://httpd.apache.org/docs/1.3/logs.html which says%t is the time the server finished processing the request.By this I understand that...
View ArticleDo you trust timestamps when they are out of order?
When Apache2 log file entries have timestamps that are out of order, do you trust the timestamp or the order?10.1.10.250 - - [20/May/2015:00:43:53 -0600] "GET /foo/bar_1234.jpg HTTP/1.1" 200 738542...
View ArticleAre there any free hosting sites that give access to the raw log files? [closed]
I'm building a website in my spare time on free hosting, but non seem to give access to the access and error log files which would be handy for diagnostic purposes etc. Anybody know of a web host that...
View ArticleHow can I leave a "footprint" in my access logs for my own visits?
When I analyze my Apache access logs, I want to exclude my own visits from that analysis.The problem with that is, that I have a dynamic IP, and I don't want to have to watch and note down my IP...
View ArticleHow to parse Apache access log for 404s not from bots?
The regex is easy for 404s in a typical Apache log:grep ' 404 ' access_logBut many are coming from bots, which I don't care about. I'm looking for actual people hitting 404s. So I'm trying to negate...
View ArticleThousands of "Apache/2.4.41 (Unix) OpenSSL/1.0.2r (internal dummy...
I'm checking the logs of my Apache server, and I've found thousands of records per day like the following one:::1 - - [23/Feb/2020:21:56:23 -0500] "OPTIONS * HTTP/1.0" 200 110 "-""Apache/2.4.41 (Unix)...
View ArticleGoogle Crawl rate & the log file mystery
According to Google Search Console for a website I am working on, Googlebot crawls ~5000 pages per day (min 2500, max 8500).However, when looking at the Apache log files, GoogleBot only shows up ~10...
View ArticleWhat means the "average Bytes" metric in logfiles?
I'm currently studying the logfiles - namely those from Googlebot access. I realized, that the average Bytes metric is in the majority of cases (urls) 10-20% of the page size. Many questions were...
View ArticleHow to log username in Apache logs?
I need some help regarding how to log the user-name into apache logs. I'm building a use-case for Security Information Event Management.Is the method the same in case of IIS or just applicable to apache?
View ArticleMatomo outputs "hostname X doesn't match Y"
Trying to import my webserver's log-files using import_logs.py results in the error:hostname X doesn't match Y.It retries to import the data but eventually gives up.The URL is set properly to the...
View ArticleGet CPU load statistic from apache access log [closed]
I have apache access log, i want to parse it and to get top CPU load pages and agents. Does somebody know good script for this? My log line has this format:host.ru 11.11.111.11 - -...
View ArticleApache - How to NOT log 301 redirects
I recently re-designed my site and a lot of the URLs changed. I have already setup rewrite rules in Apache to redirect old URLs to the new URLs. That's all working. My question is, how can I get Apache...
View ArticleCan I delete my tmp/webalizer folder?
I've got a shared hosting plan with multiple site on my plan and I want to delete unneeded files. I estimate tmp/webalizer has around 10,000 files. Can I delete them all without any adverse effects?I...
View ArticleWhere is this traffic with doubleclick.net referrers coming from, and how can...
We're seeing Google Analytics report a huge amount of hits and large drop rate on some of our pages, but investigating this further reveals more questions than answers.For instance, one page is...
View ArticleHOWTO log only slow requests in apache httpd
Is there a way to specify a condition in apache httpd access_log to persist only requests which took longer than 500ms to process?
View Article