I have search a lot about that and did not find any good tutorial how to set awstats for gentoo with froxlor and suexec. I am thinking I have found a solution but I need something from froxlor what syscp did before. It was generating at least rewrite rules for VHOST. Froxlor generate only one alias
alias /awstats "/var/customers/webs/example/awstats/domain.com"
So I was looking for in the code and found createAWStatsVhost (lib/functions/froxlor/function.createAWStatsVhost.php) with stuff what I would need to display awstats page for each domain. But seems like YOU don't run it AT ALL. WHY ?
Also the authentication for awstats should be taken from here http://wiki.syscp.org/contrib/awstats. This is awesome solution since your alias (above) to domain.com directory does not work with that rewrites rules. In /etc/apache2/diroptions.conf file you store authentication for directory but not location. When you run rewrite and redirect to /awstats/awstats.pl the <Directory> is not touched <Location> works better.
Or maybe you have a way to deal with apache2/suexec/sharehosting/gentoo better. Please share with some tutorial please.
Question
misiek303
I have search a lot about that and did not find any good tutorial how to set awstats for gentoo with froxlor and suexec. I am thinking I have found a solution but I need something from froxlor what syscp did before. It was generating at least rewrite rules for VHOST. Froxlor generate only one alias
alias /awstats "/var/customers/webs/example/awstats/domain.com"
So I was looking for in the code and found createAWStatsVhost (lib/functions/froxlor/function.createAWStatsVhost.php) with stuff what I would need to display awstats page for each domain. But seems like YOU don't run it AT ALL. WHY ?
Also the authentication for awstats should be taken from here http://wiki.syscp.org/contrib/awstats. This is awesome solution since your alias (above) to domain.com directory does not work with that rewrites rules. In /etc/apache2/diroptions.conf file you store authentication for directory but not location. When you run rewrite and redirect to /awstats/awstats.pl the <Directory> is not touched <Location> works better.
Or maybe you have a way to deal with apache2/suexec/sharehosting/gentoo better. Please share with some tutorial please.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.