View Single Post
  #4  
Old 21st December 2010, 20:19
draconian draconian is offline
Senior Member
 
Join Date: Jun 2010
P2P
Posts: 39
Default
Quote:
Originally Posted by daffy View Post
DirectoryIndex index.php

should be

DirectoryIndex login.php
ok edited that but it still isnt redirecting. hmm.

Code:
DirectoryIndex login.php
Redirect 301 /currentLocation http://mytracker.com/login.php
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
php_flag register_globals off
Reply With Quote