GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GUNGHO::COMPONENT::ROBOTRULES::RULE (3)

.ds Aq ’

NAME

Gungho::Component::RobotRules::Rule - A Rule Object

CONTENTS

SYNOPSIS



  use Gungho::Component::RobotRules::Rule;
  my $rule = Gungho::Component::RobotRules::Rule->new(
    UserAgent A => [ /foo, /bar ],
    UserAgent B => [ /baz, /quux ],
  );



DESCRIPTION

This modules stores the RobotRules ruleset for a particular host.

METHODS

    new

Creates a new rule. A single rule is a set of subrules that represents an user-agent to a list of denied paths.

No host information is stored.

    setup

Initializes the rule.

allowed($c, CW$uri)

Returns true if the given URL is allowed within this ruleset

    is_me($c,$string)

Returns true if $string matches our user agent string contained in $c->user_agent
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GUNGHO::COMPONENT::ROBOTRULES::RULE (3) 2007-12-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.