[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] AWStats alias problem resolved !



Hello again,

Thanks to all the people who send me some help about the alias problem. But
this don't help.
After re-reading my httpd.conf, i found the error. The problem is that i'm
to lazy to write something (like 99% of us all) and i do a copy-paste.
And while i copy-paste from our experimental server to our 2 productions
servers, i don't know why, but there was 1 line that i cut...
Here it is. After, with the alias problem :

RewriteRule ^/.cobalt/(.+)              proto://servername:81/.cobalt/$1
[L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/cgi-bin/.cobalt/(.+)
proto://servername:81/cgi-bin/.cobalt/$1 [L,R]
RewriteRule ^/awstats/?$
http://servername/awstats-cgi/awstats.pl?config=servername [L,R]
';

------------------------------------------------------------------
and now. Look at the last RewriteCond .... ;(

RewriteRule ^/.cobalt/(.+)              proto://servername:81/.cobalt/$1
[L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/cgi-bin/.cobalt/(.+)
proto://servername:81/cgi-bin/.cobalt/$1 [L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/awstats/?$
http://servername/awstats-cgi/awstats.pl?config=servername [L,R]
';

-----------------------------------------------------------------

Did you find the error ?  With that  #@%*$ i loose more then 4 hours in
google search ;o(
I only can say, that AWStats looks GREAT, and that we will probably delete
the Webalizer stuffs...
Our AWStats runs quarter-daily, with a logs recreation before starting the
stats.
I used this howto :

http://www.raqhelp.com/howto-awstats.html

If someone want to know more, send me a mail
jeanjean@xxxxxxx