| istoyanov@eudoramail.com 2005-05-22, 5:48 pm |
| Thanks to very helpful responses posted in this newsgroup, I was able
to resolve an issue with multiple sites in Plone + Apache2.
Now I would like to kindly ask you for help with a RewriteRule that
should enable AWstats reports of the access-logs to be viewable by
typing "http://localhost/awstats" into the browser.
Here are some details about the setup:
1) AWstats has been installed according to the tutorial at
http://ubuntuforums.org/showthread.php?t=8410 and currently resides
under
/usr/local/awstats/wwwroot/cgi-bin/
2) The current RewriteRules are as follows:
# for the second site
RewriteRule ^/second_site($|/.*)
http://localhost:8080/VirtualHostBa...123;SERVER_NAME}:80/second_site$1
[P]
# for the basic site
RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBa...123;SERVER_NAME}:80/basic_site/VirtualHostRoot/$1
[P,L]
The problem is that visiting either
"http://localhost/awstats/awstats.pl?config=localhost" as well as
"http://localhost/awstats" in the browser generates an error message
from within the basic plone site and so I am unable to use AWstats as
desired.
I would greatly appreciate any hints that could help me to resolve the
outlined issue.
Thank you in advance!
|