SRCDS Steam group


sv_downloadurl + PHP Redirector
#1
Hi,
I've read on a post here on steam forums, someone created a PHP redirector to work with sv_downloadurl.

the PHP page recognizes which map is being requested, and sends the user to the correct destination.

This helps with servers that are limited in size, and some would like to spread the map distrubution to several servers.

so the php page would be on the main url of the sv_downloadurl.

I coulnd't find the post again, and I remembered the author's link has been disabled. They had it working fairly well.

Does anyone have this file, or something simlar?

Please help.
Reply
#2
If nobody has one I don't see it could be too hard to write, my days are packed this week but I could have a stab maybe weds/thurs night or at the weekend if nothing turns up. I've also considered using one to remove any risk of people 'leaching' from publically accessible maps folders.

If someone else wants to give it a shot and isn't sure how give me a yell and i'll try and give you some pointers based on how i !assume! it should work.

AfterGlow
Reply
#3
im not sure of php, although it cant be more than just a
<?php header("redirect http://www.website.com"); ?>

probably bad syntax but i cant remember Toungue
Clanplanet.co.uk Gaming Servers
Licensed Ventrilo Host - AA Honor Provider - Great Service & Prices
Reply
#4
oh Cool

sending files as an octet stream yah?
Clanplanet.co.uk Gaming Servers
Licensed Ventrilo Host - AA Honor Provider - Great Service & Prices
Reply
#5
Stealth Wrote:im not sure of php, although it cant be more than just a
<?php header("redirect http://www.website.com"); ?>
probably bad syntax but i cant remember Toungue

the other tough part is to figure out how Steam requests the maps? I'm gona play w/ the php headers.. to see it'll catch whatever steam requests..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)