You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brian Quinn <br...@azfms.com> on 2002/02/22 21:04:47 UTC
hit counts
I have 2 domain names pointing to the same apache server. both see the all
the same pages also. we would like to know if there is a way to get hit
counts accessed by each domain name.
since domain1.com & domain2.com share the same document root i'm not sure
how to do this.
we want to know how many people access the pages through domain1.com & how
many by domain2.com
Thanks in advance.
Brian
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org
Re: hit counts
Posted by Brian Quinn <br...@azfms.com>.
ok, i was hoping there was another way to do that since they both have the
same exact content
i will give that a shot
Thanks for the responce
Brian
At 12:26 PM 2/25/2002 +0100, you wrote:
> You can configure the VirtualHost like this, for example:
>
><VirtualHost ip>
> ServerName domain1.com
> DocumentRoot /my/document/root
> CustomLog logs/domain1_access.log common
></VirtualHost>
>
><VirtualHost ip>
> ServerName domain2.com
> DocumentRoot /my/document/root
> CustomLog logs/domain2_access.log common
></VirtualHost>
>
> Good luck,
> Carlos.
>
> http://www.tertulandia.com : sea cual sea tu tema... allí está tu sitio!
>
> _______Carlos Costa Portela_________________________________________________
>| e-mail: ccosta@servidores.net | home page: http://casa.ccp.servidores.net |
>|_____Tódalas persoas maiores foron nenos antes, pero poucas se lembran______|
>
>
>---------------------------------------------------------------------
>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
>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
For additional commands, e-mail: users-help@httpd.apache.org
Re: hit counts
Posted by Carlos Costa Portela <cc...@servidores.net>.
You can configure the VirtualHost like this, for example:
<VirtualHost ip>
ServerName domain1.com
DocumentRoot /my/document/root
CustomLog logs/domain1_access.log common
</VirtualHost>
<VirtualHost ip>
ServerName domain2.com
DocumentRoot /my/document/root
CustomLog logs/domain2_access.log common
</VirtualHost>
Good luck,
Carlos.
http://www.tertulandia.com : sea cual sea tu tema... allí está tu sitio!
_______Carlos Costa Portela_________________________________________________
| e-mail: ccosta@servidores.net | home page: http://casa.ccp.servidores.net |
|_____Tódalas persoas maiores foron nenos antes, pero poucas se lembran______|
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org