Bravo List
Register
Go Back   Bravo List > Sources > Template Shares
Reply
  #1  
Old 05-07-09, 12:24
biggyb's Avatar
Senior Member
 
Join Date: May 2009
Uruguay
Posts: 17
Activity Longevity
0/20 9/20
Today Posts
0/11 sssssss17
Default Apache Config help
Quote:
IMPORTANT: Do not forget to protect your ./CONFIG folder by using apache config.
Example httpd.conf

<Directory "C:/wamp/www/yourtrackerfolder">
Options -Indexes +FollowSymlinks +MultiViews -SymLinksIfOwnerMatch
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
How would I go about doing this? So far I make a blank .txt file, fill it with this information, change the directory to what I think is correct (It is on a webserver, not locally) and then put it in the config folder. Is this correct? Could someone clarify?

Also how do I get the correct server directory?

I do all this and when seeding still get a tracker 403 error so something must be wrong.

Please help.
Reply With Quote
  #2  
Old 05-07-09, 12:33
Phogo's Avatar
Staff
 
Join Date: Jan 2008
United Kingdom
Posts: 585
Activity Longevity
3/20 19/20
Today Posts
2/11 ssssss585
Default
Use a .htaccess file
Reply With Quote
  #3  
Old 05-07-09, 12:53
biggyb's Avatar
Senior Member
 
Join Date: May 2009
Uruguay
Posts: 17
Activity Longevity
0/20 9/20
Today Posts
0/11 sssssss17
Default
ok so I got a .htaccess file and here is the contents

Code:
<Directory "/home/torrents/public_html">
Options -Indexes +FollowSymlinks +MultiViews -SymLinksIfOwnerMatch
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
Where do I put it? Just in the config folder?
Reply With Quote
  #4  
Old 05-07-09, 15:11
mmisu120000's Avatar
Staff
 
Join Date: Jun 2009
P2P
Posts: 110
Activity Longevity
1/20 9/20
Today Posts
0/11 ssssss110
Default
put it in all the directories that do not have an index.php, or index.html file,
that way you are protected from the ones who wants to see your folders contents .

in the root dir, I reccomend this file (only for windows versions):
Code:
Options +FollowSymLinks
RewriteEngine On

<Files .htaccess>
    order allow,deny
    deny from all
</Files>

ErrorDocument 400 /ts_error.php?errorid=400
ErrorDocument 401 /ts_error.php?errorid=401
ErrorDocument 403 /ts_error.php?errorid=403
ErrorDocument 404 /ts_error.php?errorid=404
ErrorDocument 500 /ts_error.php?errorid=500

# //seo_mod_start
# Uncomment the following and add your tracker path if rewrites arent working properly
#RewriteBase /
RewriteRule ^index.html$ index.php [L,NE]
RewriteRule ^(.*)-b-([0-9]+).ts(.*)$ browse.php?cat=$2 [QSA,L]
RewriteRule ^(.*)-c-([0-9]+).ts(.*)$ browse.php?browse_categories&category=$2 [QSA,L]
RewriteRule ^(.*)-d-([0-9]+).ts(.*)$ download.php?id=$2 [QSA,L]
RewriteRule ^(.*)-s-([0-9]+).ts(.*)$ details.php?id=$2 [QSA,L]
RewriteRule ^(.*)-a-(.*).ts(.*)$ announce.php?passkey=$2 [QSA,L]
RewriteRule ^(.*)-u([0-9]+).ts(.*)$ userdetails.php?id=$2$3 [QSA,L]
RewriteRule ^(.*)-f([0-9]+).tsf(.*)$ tsf_forums/index.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)-fd([0-9]+).tsf(.*)$ tsf_forums/forumdisplay.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)-t([0-9]+).tsf(.*)$ tsf_forums/showthread.php?tid=$2$3 [QSA,L]
# //seo_mod_end

<IfModule mod_expires>
    <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?)$">
        ExpiresActive On
        ExpiresDefault "access plus 10 years"
    </FilesMatch>
</IfModule>

<IfModule mod_headers>
  Header unset Last-Modified
</IfModule>

FileETag none
php_flag short_open_tag on
if, by chance it gives you an error, use the code below:

in the config folder:

Code:
Order allow,deny
deny from all
<FilesMatch "\.(php|asp|php4|php5|cgi|perl)$">
ForceType text/plain
</FilesMatch>
__________________
"How terrible is wisdom when it holds no benefit for the wise?" - Louis Cypher
Reply With Quote
The Following User Says Thank You to mmisu120000 For This Useful Post:
biggyb (05-07-09)
Sponsored Links
Advertisement
Reply

Tags
apache , config

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
email config nako75018 Torrent Strike 0 29-11-09 17:05



All times are GMT +1. The time now is 18:56. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Advertisement System V2.6 By   Branden