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]
Webalizer statistics and S9Y
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Webalizer statistics and S9Y
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Webalizer statistics and S9Y
Well, thanks for the idea. Only problem is, I am not good in regexp and rewrite rules.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
Maybe this is OT, but can you help me?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Webalizer statistics and S9Y
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Webalizer statistics and S9Y
Ok, I have set mod_rewrite option. It works fine on URLs.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!
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?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Webalizer statistics and S9Y
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Webalizer statistics and S9Y
Thank you for your help, everything works fine now.garvinhicking wrote:Hi!
Simply put a .htaccess into each directory that you do not want "serendipitized" with this "Rewriteengine Off" command.