httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sriram Rajan" <sriram_...@hotmail.com>
Subject Re: [users@httpd] A question on virtual hosts
Date Thu, 24 Jul 2003 21:25:33 GMT
Thanks,

I had the document root there as an example.
its actually pointing to /var/www/html

I might follow your post-processing suggestion and try to use it.

Sriram
----- Original Message ----- 
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Thursday, July 24, 2003 3:37 PM
Subject: Re: [users@httpd] A question on virtual hosts


>
> On Thu, 24 Jul 2003, Sriram Rajan wrote:
> > <Vitualhost  x.x.x.x>
> >     Documentroot /home
>
> That DocumentRoot is not a good idea.  You are exposing the home
> directories of all your users directly to the web.  Are you sure that all
> your users are comfortable with that?  Even if they are, there are special
> files in the home directories that probably shouldn't be served (.profile,
> ssh keys, etc).
>
> > I want httpd to log requests and errors from "/home/*/*/public_html" to
> > different files
> >
> > Can I do this by creating another virtual host ??
>
> No.  I suggest that you log to all one file and have a post-processing
> program split it out for you.  That will be the simplest and most
> efficient way to handle it.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message