#91 clean url endings

closed
None
5
2012-10-11
2005-09-06
Vincent FIACK
No

Here's a patch to specify a list of url endings to clean.
When using Zope/CPS, the same page can be accessed by
several urls :
http://Server/site/document
http://Server/site/document/view
* http://Server/site/document/cpsdocument_view

Awstats count this as 3 pages, with my patch i can
configure the
url endings to discards, so these urls would be the same.

The modifications are in attached files.

To apply this patch, you can put the two files along
your awstat directory and type this (in one line) :

patch awstats-6.4/wwwroot/cgi-bin/awstats.model.conf
patchconfig.patch

patch awstats-6.4/wwwroot/cgi-bin/awstats.pl
patchprogram.patch

Hope it helps,
Vincent.

Discussion

  • Vincent FIACK
    Vincent FIACK
    2005-09-06

     
    Attachments
  • Vincent FIACK
    Vincent FIACK
    2005-09-06

     
    Attachments
  • This patch entry has been removed because it was submitted for a very old version of AWStats.
    This does not means feature is available now in current version (may be) but simply that patch is now useless because this AWStats version is no more used.