Page 1 of 1
Webalizer statistics and S9Y
Posted: Fri Dec 19, 2008 6:10 pm
by JackD
Hi!
I am using webalizer to create stats of my websites. It's quite featureless, but it's enough for me.
Can anybody help me, how to configure webalizer to accept Serendipity's URL's as different pages?
Serendipity uses these kind of links on the main page:
http://blog.hauser.eu/index.php?/archiv ... lkozo.html
But weablizer only stores index.php as page. I would like to have statistics about separate Serendipity pages.[/u]
Re: Webalizer statistics and S9Y
Posted: Fri Dec 19, 2008 6:12 pm
by garvinhicking
Hi!
Maybe you could enable the "URL rewriting" option of serendipity if your server supports apache 404 or mod_rewrite redirecting. Then webalizer will always store normal pages.
I don't think you have another way to reconfigure webalizer to not only track index.php
Regards,
Garvin
Re: Webalizer statistics and S9Y
Posted: Fri Dec 19, 2008 6:24 pm
by JackD
garvinhicking wrote:Hi!
Maybe you could enable the "URL rewriting" option of serendipity if your server supports apache 404 or mod_rewrite redirecting. Then webalizer will always store normal pages.
I don't think you have another way to reconfigure webalizer to not only track index.php
Regards,
Garvin
Well, thanks for the idea. Only problem is, I am not good in regexp and rewrite rules.
Maybe this is OT, but can you help me?
Re: Webalizer statistics and S9Y
Posted: Fri Dec 19, 2008 6:48 pm
by garvinhicking
Hi!
No problem, usually serendipity does that trick for you! simply go to your admin panel of s9y, go to "configuraiton" and in the third section (I think) you should see the option called "URL Rewriting" that you can set to "mod_rewrite" or "apache errorhandling", depending on which one works. If mod_rewrite is available on your server, that's the best option to go with.
This will automatically create an updated .htaccess file with all the rewrite rules!
Regards,
Garvin
Re: Webalizer statistics and S9Y
Posted: Fri Dec 19, 2008 11:07 pm
by JackD
garvinhicking wrote:
No problem, usually serendipity does that trick for you! simply go to your admin panel of s9y, go to "configuraiton" and in the third section (I think) you should see the option called "URL Rewriting" that you can set to "mod_rewrite" or "apache errorhandling", depending on which one works. If mod_rewrite is available on your server, that's the best option to go with.
This will automatically create an updated .htaccess file with all the rewrite rules!
Ok, I have set mod_rewrite option. It works fine on URLs.
But I have one problem with this. URL rewrite rules deny me to access a subdirectory in my blog site.
ie my blog's URL is
http://blog.domain.tld/ and I have put web stats into a directory with URL
http://blog.domain.tld/webalizer
Now as .htaccess file is updated I can not reach the content of /webalizer directory, because always the main blog site appears.
Is there a workaround for this?
Re: Webalizer statistics and S9Y
Posted: Fri Dec 19, 2008 11:44 pm
by garvinhicking
Hi!
Ah, okay. If I were aware of that your webalizer was in a subdir, I could've mentioned a solution to this:
http://www.s9y.org/11.html#A13
Simply put a .htaccess into each directory that you do not want "serendipitized" with this "Rewriteengine Off" command.
HTH,
Garvin
Re: Webalizer statistics and S9Y
Posted: Sat Dec 20, 2008 12:21 pm
by JackD
garvinhicking wrote:Hi!
Simply put a .htaccess into each directory that you do not want "serendipitized" with this "Rewriteengine Off" command.
Thank you for your help, everything works fine now.