I have a directory on my server that contains log files for all my virtual hosts.
I'd like to create a (web) login page that each owner of those vhosts can use to gain
access to their individual log files. Ideally by using the same login they have on
the system (their physical log in), but not required.
My problems are, a) each login need only access to their log files, no one else's,
and b) some logins will have more than one vhost (and consequently more than one log
directory).
Right now I have the directory structure setup as follows:
/main logs/
/main logs/<vhost 1>
/main logs/<vhost 2>
/main logs/<vhost 3>
etc.
etc.
So, if the owner of <vhost 1> logs in, I want them to be "dropped" within
/main_logs/<vhost 1>/ to see their log files. But, I don't know how to tie the
different vhosts that belong to the same owner together.
(I suspect someone might ask why, so I'll also note this: The reason I have this
setup is because I run statistics on each log file, and it's those reports that the
users get access to, not the actual physical log file)
I'm open to suggestions.
--
H | "Life is the art of drawing without an eraser." - John Gardner
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php