Results 1 to 2 of 2

Thread: Webalizer and limiting to a certain subdirectory

  1. #1
    Join Date
    Feb 2009
    Beans
    45

    [resolved] Webalizer and limiting to a certain subdirectory

    Trying to figure out how to configure Webalizer so that it only reports on 1 specific directory and its subdirectory contents.

    Example:
    • /Site Root
      • /Dir1
        • junk1
        • junk2

      • /Dir2
        • junk3
        • junk4

      • /Dir3
        • junk5
        • junk6

        • /subDir3
          • junk7


    I'm trying to figure out how to only get the contents within Dir3. I tried the following but it did not work:
    Code:
    IncludeURL      /Dir3/*
    IncludeURL      /Dir3*
    I also added the following in conjunction with above, but it still did not work:
    Code:
    IgnoreSite      mysite.com/*
    IgnoreSite      mysite.com*
    How would it be configured?

    Thanks in advance for any help.
    Last edited by fantastic; November 24th, 2010 at 03:04 PM. Reason: resolved

  2. #2
    Join Date
    Feb 2009
    Beans
    45

    [resolved] Webalizer and limiting to a certain subdirectory

    For those after me, I used to the following settings:

    Set Hostname:

    Code:
    Hostname   /MyDir

    Set AllSites and AllURLs:

    Code:
    AllSites   yes
    AllURLs   yes

    Block entire site:

    Code:
    HideSite   mydomain.com/*
    Allow only your directories:

    Code:
    InlcudeURL /MyDir/*
    IncludeURL is case-sensitive.


    I realize this is not how Webalizer was intended to be used.

    # The Include* keywords allow you to force the inclusion of log records
    # based on hostname, URL, user agent, referrer or username. They take
    # precidence over the Ignore* keywords. Note: Using Ignore/Include
    # combinations to selectivly process parts of a web site is _extremely
    # inefficent_!!! Avoid doing so if possible (ie: grep the records to a
    # seperate file if you really want that kind of report).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •