You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Apache Software Foundation <hu...@Apache.Org> on 2001/09/20 23:13:22 UTC

FW: add this to FAQ?

Miss Files had a furball..  Not acked.

----- Forwarded message from Catalin Mitrofan <ca...@infoiasi.ro> -----

From: Catalin Mitrofan <ca...@infoiasi.ro>
To: <hu...@apache.org>
Subject: add this to FAQ?
Date: Mon, 19 Mar 2001 18:51:59 +0200 (EET)




	Maybe you can consider (or rewrite to be more readable) adding
this to FAQ.html:

Q: How can I see my access.log & error.log files w/o suplementary rights?
A: Contact webmaster/sysadmin to add this to httpd.conf:

LogFormat "%h %u %t \"%r\" %>s %b \"%{error-notes}n\" \"%{Cookie}i\"
 \"%{Set-Cookie}o\"" users_log
SetEnvIf Request_URI "^/~gigi" user_is_gigi
CustomLog /home/gigi/access.log users_log env=user_is_gigi

#chown gigi.users /home/gigi/access.log

/home/gigi/access.log contains also errors and cookies(in/out).


have fun!

-- 

Catalin Mitrofan
catam@infoiasi.ro



----- End forwarded message -----

-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

---------------------------------------------------------------------
To unsubscribe, e-mail: apache-docs-unsubscribe@apache.org
For additional commands, e-mail: apache-docs-help@apache.org


RE: add this to FAQ?

Posted by Joshua Slive <sl...@apache.org>.
Sorry for the long delay in responding.

We have added more information on how to do conditional logging; see
http://httpd.apache.org/docs/logs.html

However, your particular configuration has a major security problem.  See
the security note contained on that page.

Thanks for the suggestion.

>
> ----- Forwarded message from Catalin Mitrofan <ca...@infoiasi.ro> -----
>
> From: Catalin Mitrofan <ca...@infoiasi.ro>
> To: <hu...@apache.org>
> Subject: add this to FAQ?
> Date: Mon, 19 Mar 2001 18:51:59 +0200 (EET)
>
>
>
>
> 	Maybe you can consider (or rewrite to be more readable) adding
> this to FAQ.html:
>
> Q: How can I see my access.log & error.log files w/o suplementary rights?
> A: Contact webmaster/sysadmin to add this to httpd.conf:
>
> LogFormat "%h %u %t \"%r\" %>s %b \"%{error-notes}n\" \"%{Cookie}i\"
>  \"%{Set-Cookie}o\"" users_log
> SetEnvIf Request_URI "^/~gigi" user_is_gigi
> CustomLog /home/gigi/access.log users_log env=user_is_gigi
>
> #chown gigi.users /home/gigi/access.log
>
> /home/gigi/access.log contains also errors and cookies(in/out).
>
>
> have fun!
>
> --
>
> Catalin Mitrofan
> catam@infoiasi.ro
>
>
>
> ----- End forwarded message -----
>
> --
> #ken	P-)}
>
> Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
> Author, developer, opinionist      http://Apache-Server.Com/
>
> "All right everyone!  Step away from the glowing hamburger!"
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: apache-docs-unsubscribe@apache.org
> For additional commands, e-mail: apache-docs-help@apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: apache-docs-unsubscribe@apache.org
For additional commands, e-mail: apache-docs-help@apache.org