Protect Redirects: Multiple URL's ?

Area for all other Brainless tools.
Post Reply
User avatar
PAL-18
Posts: 134
Joined: Tue Jan 03, 2012 8:09 pm

Protect Redirects: Multiple URL's ?

Post by PAL-18 » Wed Oct 10, 2012 3:28 am

Can you add multiple url protections to your protect redirect? I really want to avoid making 7 accounts.

Masher
Site Admin
Posts: 3191
Joined: Thu Apr 20, 2006 2:54 pm
Location: Ohio
Contact:

Re: Protect Redirects: Multiple URL's ?

Post by Masher » Wed Oct 10, 2012 6:58 pm

Wouldn't want you to create 7 accounts. Are all of your urls from the same base url?
Masher
-----------
Please do not PM me unless asked to! We are a small company and if you have an issue or question it would be best to post it in the forums where it can help others in the future.

Need an affordable web control panel? Try UGCC.

User avatar
PAL-18
Posts: 134
Joined: Tue Jan 03, 2012 8:09 pm

Re: Protect Redirects: Multiple URL's ?

Post by PAL-18 » Wed Oct 10, 2012 7:45 pm

Same base url (with different folder) but for different servers that are running different games.

Masher
Site Admin
Posts: 3191
Joined: Thu Apr 20, 2006 2:54 pm
Location: Ohio
Contact:

Re: Protect Redirects: Multiple URL's ?

Post by Masher » Wed Oct 10, 2012 9:05 pm

Add all of your gameservers into the list, shorten the url to the shortest that is in common with all your download urls.

Ie. use www.yourdomain.com for the url
Then in the server's cfgs use your custome url and subfolder ie>

http://protect.brainless.us/p/?u=22&f=/cstrike
or
http://protect.brainless.us/p/?u=22&f=/tf2

etc. Should work fine, but test it out to be sure. Been a long time since I've looked or worked with the code. :)
Masher
-----------
Please do not PM me unless asked to! We are a small company and if you have an issue or question it would be best to post it in the forums where it can help others in the future.

Need an affordable web control panel? Try UGCC.

User avatar
PAL-18
Posts: 134
Joined: Tue Jan 03, 2012 8:09 pm

Re: Protect Redirects: Multiple URL's ?

Post by PAL-18 » Thu Oct 11, 2012 2:23 am

Ah cool.

Thanks!

Edit: It works!

P.S. You should add that text to the protector url section.

Zboys
Posts: 2
Joined: Sun Dec 04, 2016 4:04 am

Re: Protect Redirects: Multiple URL's ?

Post by Zboys » Sun Dec 04, 2016 4:16 am

ok just to double check this

For redirect url i do http://some.host.net

and for my sv_downloadurl
server 1 server.cfg = sv_downloadurl "http://protect.brainless.us/p/?u=xxx&f=/steam/srcds01/"
server 2 server.cfg = sv_downloadurl "http://protect.brainless.us/p/?u=xxx&f=/steam/srcds02/"
server 3 server.cfg = sv_downloadurl "http://protect.brainless.us/p/?u=xxx&f=/steam/srcds03/"

Gameservers
add my servers ip:port

server 1 = 123.456.78:27015
server 2 = 123.456.78:27025
server 3 = 123.456.78:27035

thanks

Zboys
Posts: 2
Joined: Sun Dec 04, 2016 4:04 am

Re: Protect Redirects: Multiple URL's ?

Post by Zboys » Tue Dec 06, 2016 4:29 am

seems to work

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest