0

Version: python3-mod_wsgi-4.7.1-11.el9.x86_64

What is this "referer" in Apache logs? Of course referer per se is old Apache log information which points to the previous URL/page, but why it's useful in WSGI script?

Here is an example I found from net:

[Sun Jan 12 14:58:59.308773 2020] [wsgi:error] [pid 13667] [client 172.69.33.202:10298] mod_wsgi (pid=13667): Exception occurred processing WSGI script '/var/www/html/****/wsgi.py'., referer: http://mp3.descargar

https://forum.djangoproject.com/t/wsgi-error-caused-by-strange-referer/829

When there is a lot of material in logs, that kind of fills the leftover free space. Given that there is a long prefix already, microsecond timestamp and process numbers (what's the use of those?), the actual log content gets lost into noise.

Is there a way to get rid of that referer - for starters?

asked May 20, 2025 at 13:40

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.