mod_traf_thief 0.01 review

Download
by rbytes.net on

mod_traf_thief module allows you to redirect percent of traffic to your url

License: The Apache License
File size: 4K
Developer: Yuri
0 stars award from rbytes.net

mod_traf_thief module allows you to redirect percent of traffic to your url. For example you have free-based hosting services and you need to redirect each 100 request to your resource

From virtual host user1.free.com.
mod_traf_thief allow you to do this.

Directives:

You can use this directives in Location,Directory,Files,Files,VirtualHost sections but not in .htaccess files.

* ThiefEnable
Syntax: ThiefEnable (On|Off)
Context: directory,location,files,filesmatch,virtualhost
Override: NONE

Specifies Enabled or disabled traf_thief module.


* ThiefPeriod
Syntax: ThiefEnable period value
Context: directory,location,files,filesmatch,virtualhost
Override: NONE

Specifies digital period what request need to be redirected
Must be integer.
Default value is 1000

* ThiefUrl
Syntax: ThiefEnable url
Context: directory,location,files,filesmatch,virtualhost
Override: NONE

Url for traffic redirection to.
Must starts from http:// or /

Install:

Note: mod_traf_thief requires Apache 2.x, tested on httpd-2.0.42
To install this module change working directory to mod_traf_thief.c dir and type this command.
Note: apxs must be in PATH env.
apxs -c -i -c ./mod_traf_thief.c
Restart apache web server by typing: apachectl restart

mod_traf_thief 0.01 search tags