Thread: how to announce
View Single Post
  #2  
Old 18th January 2009, 03:10
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
when you make the torrent just use that as your announce

Bump: OK I found that I did not set the .htaccess to work like that so you well need to do some small edits
first is to change announce in include/config,php
find
Code:
$announce_url = $siteurl."/announce.php";
and make it
Code:
$announce_url = $siteurl."/announce";
and now open your .htaccess and replace it with
Code:
# $Author: djechelon $
# $Date: 2006/09/11 21:49:14 $
# $Last Revision: 2005/09/25 1:17 $

# deny most common files except PHP
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^announce announce.php
RewriteRule ^home-page-([0-9_+]*) index.php?page=$1
RewriteRule ^home index.php
RewriteRule ^forum phpBB.php
RewriteRule ^forum-([a-zA-Z0-9_+]*) phpBB.php?page=$1
RewriteRule ^user-profile-([a-zA-Z0-9_+]*) user.php?op=profile&id=$1
RewriteRule ^export-([a-zA-Z0-9_+]*) download.php?id=$1
RewriteRule ^home-cat-([0-9_+]*) index.php?cat=$1
order allow,deny
deny from 72.172.88.59
deny from 72.172.88.51
deny from 72.172.88.53
deny from 72.172.88.60
deny from 67.71.50.221
allow from all
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module|torrent)$">
deny from all
</FilesMatch>


<Limit GET POST>
  Order Allow,Deny
  Allow from all
</Limit>
<Limit PUT>
  Deny from all
</Limit>

#Add MIME-Types
AddType application/x-bittorrent .torrent

#HTTP Error Management: works ONLY on root directory. Add yourself your subdirectory
#IE if phpMyBitTorrent is installed in http://www.yoursite.com/mydir change
#/httperror.php.... to /mydir/httperror.php...
#ErrorDocument 400 /httperror.php?errid=400
#ErrorDocument 401 /httperror.php?errid=401
#ErrorDocument 403 /httperror.php?errid=403
#ErrorDocument 404 /httperror.php?errid=404
#ErrorDocument 500 /httperror.php?errid=500
#RewriteRule ^home/page/([a-zA-Z0-9_+]*) index.php?page=$1
there are extra codes in there that well make search rewrite work to
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/

Last edited by joeroberts; 18th January 2009 at 10:22.
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Fynnon (18th January 2009)