Apache Error Log - "Web Path" instead of Filesystem Path
Posted
by Craconia
on Server Fault
See other posts from Server Fault
or by Craconia
Published on 2010-06-13T16:37:05Z
Indexed on
2010/06/13
16:42 UTC
Read the original article
Hit count: 379
Hello everyone,
I'm running Apache on Linux and I'm using OpenSSH to provide SFTP access to some customers so they can upload their pages and also look at their respective site logs (access & error). I'm using the new feature in OpenSSH to chroot their SFTP access and so far so good.
My problem is that on the error_log, every reference for "File not found..." is given using the OS filesystem path as opposed to the "Web" path. I'd rather have the web path on the error log in order not to reveal the OS path. Since I'm already chrooting the users, I don't want to reveal WHERE on the OS their files are actually located...
Is it possible to change this behaviour via any directive? I tried looking for it but couldn't find anything :(
Thanks, Craconia
© Server Fault or respective owner