Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73310 Details for
Bug 77372
New ebuild www-apache/mod_bt
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
27_mod_bt_vhost.conf
27_mod_bt_vhost.conf (text/plain), 2.25 KB, created by
Tobias Sager
on 2005-11-21 07:57:20 UTC
(
hide
)
Description:
27_mod_bt_vhost.conf
Filename:
MIME Type:
Creator:
Tobias Sager
Created:
2005-11-21 07:57:20 UTC
Size:
2.25 KB
patch
obsolete
><IfDefine BITTORRENT> > ><IfModule mod_bt.c> ># Set up the port we want to listen on ># NameVirtualHost *:6969 > <VirtualHost *:6969> > ># ServerName is important if you're running other vhosts ># ServerName trackers.virtualhost.name > ># If you want to serve static files off of the tracker as well, put a DocumentRoot here to override the default vhost ># DocumentRoot /var/www/localhost/htdocs > ># HTML scrape handler on / > <LocationMatch "^/$"> > SetHandler modbt-root > ># If you use TrackerRootInclude, you need SSI enabled. > Options +Includes > SetOutputFilter INCLUDES > </LocationMatch> > ># Tracker URL on /announce > <Location "/announce"> > SetHandler modbt-announce > ># If we have mod_perl, use the LeechNuker example module to shun peers that don't upload anything > <IfModule mod_perl.c> > PerlFixupHandler Apache::ModBT::LeechNuker > </IfModule> > ># If we have mod_rewrite, there's some more fun we can have with shielding... ># <IfModule mod_rewrite.c> ># RewriteEngine On > > # Enable this if you don't want people to be able to set shield mode themselves > #RewriteCond %{QUERY_STRING} ^.*shield=1 > #RewriteRule (.*) - [F] > > # Activate shield mode on IPs that are known to be stable seeds > # ... unless they've activated it already ># RewriteCond %{QUERY_STRING} !^.*shield=1 > # A good IP ># RewriteCond %{REMOTE_ADDR} ^10.20.30.40 [OR] > # Another good IP - make sure there's no [OR] on the last one ># RewriteCond %{REMOTE_ADDR} ^11.22.33.44 > # Append "sheild=1" to the URL arguments and call /announce ># RewriteRule (.*) /announce?shield=1 [PT,L,QSA,NE,NS] ># </IfModule> > </Location> > ># Scrape URL > <Location "/scrape"> > SetHandler modbt-scrape > </Location> > ># Register URL > <Location "/register"> > SetHandler modbt-register > ># Set up some access credentials here if you want to restrict registration.. ># AuthUserFile, IP-based Authorization, your own mod_perl authentication module, whatever ># Default permissioning is access only from localhost > Order Allow,Deny > Allow from 127.0.0.1 > </Location> > ># Details URL > <Location "/details"> > SetHandler modbt-details ># Default permissioning is access only from localhost > Order Allow,Deny > Allow from 127.0.0.1 > </Location> > </VirtualHost> ></IfModule> > ></IfDefine>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 77372
:
73307
|
73308
|
73309
| 73310