LiveWire Peer Support Network

Printable Version of Topic "Editing .htaccess file?:S"

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- Editing .htaccess file?:S (http://www.golivewire.com/forums/peer-psnnbs-support-a.html)


-- Posted by Onoredone at 8:09 am on Mar. 22, 2008

In this file RewriteEngine is On. And here is the Rewrite rule:
RewriteRule ^rs([0-9][0-9][0-9])/([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])/(.*)$ h*tp://USER:PASS@rs$1.rapidshare.com/files/$2/$3

EX LINK:
ht*p://rs290.rapidshare.com/files/95575729/filename.rar

I need help in editing the .htaccess file in such a way that it can rewrite a link like this.
ht*p://rs90.rapidshare.com/files/915575729/filename.rar

This link has rs90 instead of rs290 AND 915575729 instead of 95575729. Notice the 8 digits in the first link and the 9 digits in second link. Please urgent help needed. Any help will be realy appreciated.


-- Posted by DefaultTo0 at 5:56 pm on Mar. 24, 2008

I'd recommend posting this on your web host's forum rather than on LiveWire.  You're much more likely to get more specialised folk and help there.


www.golivewire.com