I couldn't find any similar SO threads, so i decided to create a new one.
I'd like to use loguru in my python scripts, but i encountered a problem with running them through url
http://host:port/some/dirs/script.py
Running script like so gives me an internal server error
Server log says:
[Thu Aug 25 09:30:51.589337 2022] [cgi:error] [pid 18553] [client ...] AH01215: File "/some/dirs/script.py", line 3, in <module>
[Thu Aug 25 09:30:51.591079 2022] [cgi:error] [pid 18553] [client ...] End of script output before headers: script.py
But i can run script successfully with PyCharm or in terminal.
I suppose problem with server configuration, but i can't really change anything, since it's my work server (apache btw).
I would very much appreciate any info on this subject