You are an unregistered user, you can register here
Go Back   The Unreal Admins Page > Forums > Hosted Forums > Wormbos Area > Suggestions

Reply
Thread Tools Display Modes
  #21  
Unread 24th March, 2012, 10:20 AM
2399Skillz 2399Skillz is offline
Holy Shit!!
 
Join Date: Jan 2004
Location: Mississippi
Posts: 2,202
Default

http://news.ut-files.com/redirect/get.php

Only one redirect server in the list, so if you guys can find more I'll add them.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #22  
Unread 24th March, 2012, 01:22 PM
iloveut99 iloveut99 is offline
Unstoppable
 
Join Date: Oct 2010
Posts: 205
Default

Seems it's not working:

http://news.ut-files.com/redirect/ge...CTF-Dom.unr.uz

Edit:
http://news.ut-files.com/redirect/CTF-Dom.unr.uz is this one?

In ut ini we just add:
http://news.ut-files.com/redirect/ ?

Last edited by iloveut99 : 24th March, 2012 at 01:24 PM.
Reply With Quote
  #23  
Unread 24th March, 2012, 05:50 PM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

Quote:
Originally Posted by iloveut99 View Post
You cant do that, since get.php is not a directory. If the script is located in the same directory as the compressed files, you cannot actually see if it is working or not. The web master must test it by using a redirect other than his own.
Reply With Quote
  #24  
Unread 25th March, 2012, 09:29 PM
2399Skillz 2399Skillz is offline
Holy Shit!!
 
Join Date: Jan 2004
Location: Mississippi
Posts: 2,202
Default

The script isn't located in the same directory as the compressed files. It's not even the same domain.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #25  
Unread 25th March, 2012, 09:41 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,885
Default

doesn't seem to be working Skills...

RedirectToURL=http://news.ut-files.com/redirect/get.php

no go;

Assume that you configured it;

$sources[0] = array('http://uz.ut-files.com','H');

Also the .htaccess stuff wouldn't apply as the script is hosted elsewhere.

if you had the script in the actual redirect folder then I think you'd change it like so;

$sources[0] = array('http://uz.ut-files.com','L');

and use the .htaccess ...

Code:
Options +FollowSymlinks All -Indexes
order deny,allow
RewriteEngine on 
RewriteRule  ^(.*)\.uz$ get.php?$1 [PT]

Last edited by back4more : 25th March, 2012 at 09:48 PM. Reason: re: .htaccess > not sure if ^ would break normal Redirect though.
Reply With Quote
  #26  
Unread 25th March, 2012, 10:06 PM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

No.. if you are using a full path with http then you need to do 'h'

It has been a long time since I did anything with web servers, but there is no magic here.. its pretty forward, but you need to do some testing to verify your config. The code I posted is the exact code I used. I know that it works. But the .htaccess file is the key.
Reply With Quote
  #27  
Unread 25th March, 2012, 10:56 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,885
Default

not having much luck here PizzaMan...

set it all up on my own host in a new folder with .htaccess and script.

then done the RedirectToURL=http://mysite.com/folder/get.php <maybe missing ?>

restarted server , and no redirect.. is there supposed to be a rewriteCond perhaps?

not sure.

as it is... its not working.. could also be incompatible with new php.. not sure.

Last edited by back4more : 25th March, 2012 at 11:12 PM.
Reply With Quote
  #28  
Unread 26th March, 2012, 07:48 AM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

It worked for me. I no longer have any servers, so if you want to use it, you need to fiddle with it yourself.
Reply With Quote
  #29  
Unread 26th March, 2012, 08:02 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,885
Default

ahh yep , sweet as m8 , thanks anyways.. someone will find a fix sooner or later.

cheers.

Reply With Quote
  #30  
Unread 26th March, 2012, 06:46 PM
Wormbo's Avatar
Wormbo Wormbo is offline
out of order
 
Join Date: Sep 2003
Posts: 3,337
Default

Quote:
Originally Posted by back4more View Post
then done the RedirectToURL=http://mysite.com/folder/get.php <maybe missing ?>
Not just maybe, I'd say most likely.
Keep in mind the game client will be totally dumb about it any only append the file name, for example: http://mysite.com/folder/get.phpMyAwesomeTextures.utx.uz (for package MyAwesomeTextures.utx)
Something like
Code:
RedirectToURL=http://mysite.com/folder/get.php?file=
will work nicely (assuming the get.php expects the file parameter) as the game client requests URLs such as http://mysite.com/folder/get.php?file=MyAwesomeTextures.utx.uz, which is more likely what you want.
__________________
Wormbo's UT/UT2004/UT3 mods | PlanetJailbreak | Unreal Wiki | Liandri Archives
Quote:
<@Mych|Lockdown> ...and the award for the most creative spelling of "Jailbreak" goes to ... "Gandis Jealbrake Server"

Last edited by Wormbo : 26th March, 2012 at 06:49 PM.
Reply With Quote
  #31  
Unread 26th March, 2012, 08:10 PM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

Just leave out the file name. The RewriteRule in the .htaccess file points to it.
Reply With Quote
  #32  
Unread 26th March, 2012, 10:53 PM
SoNY_scarface SoNY_scarface is offline
Holy Shit!!
 
Join Date: Mar 2007
Posts: 1,687
Default

Only thing with the rewrite rule is....you can't have the www. rewrite in the .htaccess

So it's a choice really between this or the auto rewrite which helps seo...
__________________








http://www.unrealkillers.com The home of siege UT99! Accept no imitations.
Reply With Quote
  #33  
Unread 26th March, 2012, 11:01 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,885
Default

@sony , you get this thing working m8?

was doing some tests but so far nothing.. and I think uz.ut-files.com is down atm.

...
Reply With Quote
  #34  
Unread 27th March, 2012, 12:01 AM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

Quote:
Originally Posted by SoNY_scarface View Post
Only thing with the rewrite rule is....you can't have the www. rewrite in the .htaccess

So it's a choice really between this or the auto rewrite which helps seo...

I worked fine when I used it. It just forwards requests for file type "uz" to the php script.

The .htaccess file goes in the same directory as the php file, in case someone wonders about that.
Reply With Quote
  #35  
Unread 27th March, 2012, 03:26 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,885
Default

some minor advances; http://news.ut-files.com/redirect/get.php?AS-Rook.unr

Code:
http://news.ut-files.com/redirect/get.php?AS-Rook.unr
GET /redirect/get.php?AS-Rook.unr HTTP/1.1
Host: news.ut-files.com
.
.
.
HTTP/1.1 200 OK

Content-Type: text/plain; charset=UTF-8
but still no luck with ut itself.. even appending ? to the URL.

could be a 451 problem perhaps *shrugs*

Last edited by back4more : 28th March, 2012 at 05:23 AM.
Reply With Quote
  #36  
Unread 27th March, 2012, 06:24 AM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

Quote:
Originally Posted by back4more View Post
Like I said... dont append the file name (get.php).

Do this:

http://news.ut-files.com/redirect/AS-Rook.unr.uz

In ut.ini, its just:

Code:
RedirectToURL=http://news.ut-files.com/redirect/
Reply With Quote
  #37  
Unread 27th March, 2012, 05:49 PM
SoNY_scarface SoNY_scarface is offline
Holy Shit!!
 
Join Date: Mar 2007
Posts: 1,687
Default

I wasn't able to work it. However, it's not of much use to me since we use a private redirect. I'm thinking of setting up a backup though. Only thing is, I'd need a private domain that is unknown, since when our website is under DDoS it would be pointless to point the gameservers to it.
__________________








http://www.unrealkillers.com The home of siege UT99! Accept no imitations.
Reply With Quote
  #38  
Unread 27th March, 2012, 08:02 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,885
Thumbs up

Quote:
Originally Posted by PizzaMan View Post
Like I said... dont append the file name (get.php).

Do this:

http://news.ut-files.com/redirect/AS-Rook.unr.uz

In ut.ini, its just:

Code:
RedirectToURL=http://news.ut-files.com/redirect/
now that I think is what works .

will test tonight.

Cheers.

Appended: Yep now she works a treat Thankx mate Whew!.

Last edited by back4more : 27th March, 2012 at 08:10 PM. Reason: finally we have a WINNER! :D
Reply With Quote
  #39  
Unread 28th May, 2012, 05:27 PM
dizzy's Avatar
dizzy dizzy is offline
Rampage
 
Join Date: Apr 2012
Posts: 50
Default

Hi everyone. First of all massive thanks for hosting the redirect.

Can I just confirm that this is how my UT.ini file should read?

Code:
[IpDrv.HTTPDownload]
#Old single redirect URL:
#RedirectToURL=http://uz.ut-files.com/
#New, multi-redirect URL:
RedirectToURL=http://news.ut-files.com/redirect/
ProxyServerHost=
ProxyServerPort=3128
UseCompression=True
Also someone mentioned that this only uses 1 redirect at the moment. Is that still the case?

I also found "http://uz.rs-alliance.de/" - is this redirect also included?

Finally what if ut-files.com itself goes down? That is a single point of failure is it not?

Cheers

Last edited by dizzy : 28th May, 2012 at 05:30 PM.
Reply With Quote
  #40  
Unread 29th May, 2012, 08:15 AM
2399Skillz 2399Skillz is offline
Holy Shit!!
 
Join Date: Jan 2004
Location: Mississippi
Posts: 2,202
Default

Yes it is a single point of failure.

Who owns that redirect? (http://uz.rs-alliance.de/)
__________________

UT-FILES.COM
Get your files
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:16 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.