Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

patch Awstats SkipHosts

Reply to Post Add a New Topic
No Tags
UserPost

10:26 am
January 23, 2012


Bila

Algeria

Member

posts 11

HI

I want to use this patch    : http://www.aliov.org/115/awsta…..s-dropped/

to fix awstats skiphosts which does'nt work in awstats it seems a bug , and i dont kown how to use this patch , where should i put it and how can i run it ?? 

thanx for answering 

4:41 pm
January 23, 2012


Jean-Luc

Admin

posts 1125

Hi Bila,

This patch is for AWStats 7.0. Here is what it does.

It replaces line 7812

shift =~ /\(\?[-\w]*:(.*)\)/;

by

shift =~ /\(\?[-^\w]*:(.*)\)/;

and it replaces lines 1356 to 1358

my @arrayunreg = map {
  if (/\(\?[-\w]*:(.*)\)/) { $1 }
 } @$array;

by

my @arrayunreg = map { UnCompileRegex($_) } @$array;

You can apply these changes yourself by manually editing the awstats.pl  file.

There are also several utilities for Windows that are able to automatically process .diff files.

1:00 pm
July 22, 2013


BeeRich

Member

posts 5

Hi there.

 

Version 7.1.1 and skiphosts is not fixed.  Any update on replacement code?  I don't want to mess this up.

 

Cheers

No Tags
Reply to Post

Reply to Topic:
patch Awstats SkipHosts

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 6
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
7 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 636
Posts: 2710

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)