You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by rott <ro...@buckeye-express.com> on 2004/11/09 16:36:13 UTC

[users@httpd] logging apache on Gentoo

I have a new install of Gentoo Linux, with "Apache/2.0.52 (Gentoo/Linux)
mod_perl/1.99_11 Perl/v5.8.5 PHP/5.0.2" when a new account is made on the
system each user gets a public_html directory where they can upload there
own web pages and it is all logged by apache.



What I want to do is log each user separately so they can have individual
site stats and logs from there own directory some how is this possible ??



I am new to apache and Linux so any help would be appreciated.



                                Dale


---------------------------------------------------------------------
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


Re: [users@httpd] logging apache on Gentoo

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
you can't seperate the logs directly in apache, the only way would be to 
tell apache not to write the log to a file but to pass it to a skript, which 
could write the data to different logs, depending on the request-uri.

----- Original Message ----- 
From: "rott" <ro...@buckeye-express.com>
To: <us...@httpd.apache.org>
Sent: Tuesday, November 09, 2004 7:13 PM
Subject: RE: [users@httpd] logging apache on Gentoo


>i dont have VH's like this
>
> ################# Named VirtualHosts
> #NameVirtualHost 111.222.33.44
> #<VirtualHost 111.222.33.44>
> #ServerName www.domain.tld
> #ServerPath /domain
> #DocumentRoot /web/domain
> #</VirtualHost>
>
> when i make a user account on my machine there is a public_html directory
> there and the user can upload there own files to it from ftp
>
>                                           Dale
>
> -----Original Message-----
> From: ADev [mailto:apache@anazys.com]
> Sent: Tuesday, November 09, 2004 10:45 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] logging apache on Gentoo
>
>
> Hi,
> I'm using it on Apache 1.3 but I think it's still work on Apache 2:
> When you create your users, they get a Virtual host?
> if so, I think you could generate a line like this when creating the
> virtual host:
> CustomLog "/var/log/httpd/access_personalizedname_log" combined
> Of course you should make sure there is no weird thing in the name like
> accentuated characters, space or symbols. I'm not sure it would harm
> the system, but at least it may prevent some problems.
>
> I hope this help
>
> Xavier
>
>> I have a new install of Gentoo Linux, with "Apache/2.0.52
>> (Gentoo/Linux)
>> mod_perl/1.99_11 Perl/v5.8.5 PHP/5.0.2" when a new account is made on
>> the
>> system each user gets a public_html directory where they can upload
>> there
>> own web pages and it is all logged by apache.
>>
>>
>>
>> What I want to do is log each user separately so they can have
>> individual
>> site stats and logs from there own directory some how is this possible
>> ??
>>
>>
>>
>> I am new to apache and Linux so any help would be appreciated.
>>
>>
>>
>>                                 Dale
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
>
> __________________________________________________________
> Message transport security by GatewayDefender
> 10:45:25 AM ET - 11/9/2004
>
>
> ---------------------------------------------------------------------
> 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


RE: [users@httpd] logging apache on Gentoo

Posted by rott <ro...@buckeye-express.com>.
i dont have VH's like this

################# Named VirtualHosts
#NameVirtualHost 111.222.33.44
#<VirtualHost 111.222.33.44>
#ServerName www.domain.tld
#ServerPath /domain
#DocumentRoot /web/domain
#</VirtualHost>

when i make a user account on my machine there is a public_html directory
there and the user can upload there own files to it from ftp

                                           Dale

-----Original Message-----
From: ADev [mailto:apache@anazys.com]
Sent: Tuesday, November 09, 2004 10:45 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] logging apache on Gentoo


Hi,
I'm using it on Apache 1.3 but I think it's still work on Apache 2:
When you create your users, they get a Virtual host?
if so, I think you could generate a line like this when creating the
virtual host:
CustomLog "/var/log/httpd/access_personalizedname_log" combined
Of course you should make sure there is no weird thing in the name like
accentuated characters, space or symbols. I'm not sure it would harm
the system, but at least it may prevent some problems.

I hope this help

Xavier

> I have a new install of Gentoo Linux, with "Apache/2.0.52
> (Gentoo/Linux)
> mod_perl/1.99_11 Perl/v5.8.5 PHP/5.0.2" when a new account is made on
> the
> system each user gets a public_html directory where they can upload
> there
> own web pages and it is all logged by apache.
>
>
>
> What I want to do is log each user separately so they can have
> individual
> site stats and logs from there own directory some how is this possible
> ??
>
>
>
> I am new to apache and Linux so any help would be appreciated.
>
>
>
>                                 Dale
>
>
> ---------------------------------------------------------------------
> 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




__________________________________________________________
Message transport security by GatewayDefender
10:45:25 AM ET - 11/9/2004


---------------------------------------------------------------------
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


Re: [users@httpd] logging apache on Gentoo

Posted by ADev <ap...@anazys.com>.
Hi,
I'm using it on Apache 1.3 but I think it's still work on Apache 2:
When you create your users, they get a Virtual host?
if so, I think you could generate a line like this when creating the 
virtual host:
CustomLog "/var/log/httpd/access_personalizedname_log" combined
Of course you should make sure there is no weird thing in the name like 
accentuated characters, space or symbols. I'm not sure it would harm 
the system, but at least it may prevent some problems.

I hope this help

Xavier

> I have a new install of Gentoo Linux, with "Apache/2.0.52 
> (Gentoo/Linux)
> mod_perl/1.99_11 Perl/v5.8.5 PHP/5.0.2" when a new account is made on 
> the
> system each user gets a public_html directory where they can upload 
> there
> own web pages and it is all logged by apache.
>
>
>
> What I want to do is log each user separately so they can have 
> individual
> site stats and logs from there own directory some how is this possible 
> ??
>
>
>
> I am new to apache and Linux so any help would be appreciated.
>
>
>
>                                 Dale
>
>
> ---------------------------------------------------------------------
> 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


Re: [users@httpd] logging apache on Gentoo

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
ok, now our emails went confusing, my fault, like i sayd before,
you can't seperate the logs directly in apache, the only way would be to
tell apache not to write the log to a file but to pass it to a skript, which
could write the data to different logs, depending on the request-uri.
ralf

 ----- Original Message ----- 
From: "rott" <ro...@buckeye-express.com>
To: <us...@httpd.apache.org>
Sent: Tuesday, November 09, 2004 9:35 PM
Subject: RE: [users@httpd] logging apache on Gentoo


> like this www.domain.com/~username/
>
> -----Original Message-----
> From: Ralf Glauberman [mailto:rglauberman@michaeli-gymnasium.de]
> Sent: Tuesday, November 09, 2004 1:13 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] logging apache on Gentoo
>
>
> do you us virtualhosts?
> i.e. do you call the users websites like this:
> www.domain.com/~username/
> or like this:
> username.domain.com
> ?
>
> ----- Original Message -----
> From: "rott" <ro...@buckeye-express.com>
> To: "Users@Httpd. Apache. Org" <us...@httpd.apache.org>
> Sent: Tuesday, November 09, 2004 4:36 PM
> Subject: [users@httpd] logging apache on Gentoo
>
>
>>I have a new install of Gentoo Linux, with "Apache/2.0.52 (Gentoo/Linux)
>> mod_perl/1.99_11 Perl/v5.8.5 PHP/5.0.2" when a new account is made on the
>> system each user gets a public_html directory where they can upload there
>> own web pages and it is all logged by apache.
>>
>>
>>
>> What I want to do is log each user separately so they can have individual
>> site stats and logs from there own directory some how is this possible ??
>>
>>
>>
>> I am new to apache and Linux so any help would be appreciated.
>>
>>
>>
>>                                Dale
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
>
> __________________________________________________________
> Message transport security by GatewayDefender.com
> 1:13:33 PM ET - 11/9/2004
>
>
> ---------------------------------------------------------------------
> 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


RE: [users@httpd] logging apache on Gentoo

Posted by rott <ro...@buckeye-express.com>.
like this www.domain.com/~username/

-----Original Message-----
From: Ralf Glauberman [mailto:rglauberman@michaeli-gymnasium.de]
Sent: Tuesday, November 09, 2004 1:13 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] logging apache on Gentoo


do you us virtualhosts?
i.e. do you call the users websites like this:
www.domain.com/~username/
or like this:
username.domain.com
?

----- Original Message -----
From: "rott" <ro...@buckeye-express.com>
To: "Users@Httpd. Apache. Org" <us...@httpd.apache.org>
Sent: Tuesday, November 09, 2004 4:36 PM
Subject: [users@httpd] logging apache on Gentoo


>I have a new install of Gentoo Linux, with "Apache/2.0.52 (Gentoo/Linux)
> mod_perl/1.99_11 Perl/v5.8.5 PHP/5.0.2" when a new account is made on the
> system each user gets a public_html directory where they can upload there
> own web pages and it is all logged by apache.
>
>
>
> What I want to do is log each user separately so they can have individual
> site stats and logs from there own directory some how is this possible ??
>
>
>
> I am new to apache and Linux so any help would be appreciated.
>
>
>
>                                Dale
>
>
> ---------------------------------------------------------------------
> 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




__________________________________________________________
Message transport security by GatewayDefender.com
1:13:33 PM ET - 11/9/2004


---------------------------------------------------------------------
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


Re: [users@httpd] logging apache on Gentoo

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
do you us virtualhosts?
i.e. do you call the users websites like this:
www.domain.com/~username/
or like this:
username.domain.com
?

----- Original Message ----- 
From: "rott" <ro...@buckeye-express.com>
To: "Users@Httpd. Apache. Org" <us...@httpd.apache.org>
Sent: Tuesday, November 09, 2004 4:36 PM
Subject: [users@httpd] logging apache on Gentoo


>I have a new install of Gentoo Linux, with "Apache/2.0.52 (Gentoo/Linux)
> mod_perl/1.99_11 Perl/v5.8.5 PHP/5.0.2" when a new account is made on the
> system each user gets a public_html directory where they can upload there
> own web pages and it is all logged by apache.
>
>
>
> What I want to do is log each user separately so they can have individual
> site stats and logs from there own directory some how is this possible ??
>
>
>
> I am new to apache and Linux so any help would be appreciated.
>
>
>
>                                Dale
>
>
> ---------------------------------------------------------------------
> 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