Sure In the .htaccess (for apache) on the root of my domain i have included
Redirect /tf2server/content/maps http://the_maps_only_server.com/TeamFortress_2/maps/ And all my other content is in /tf2server/content (/materials /models /sounds) etc I tested it by deleting a map and all my custom 'other bits' and it worked when i changed the map then connected to the server. For completeness, the .htaccess in the /content directory is SetEnvIfNoCase Referer hl2://x\.x\.x\.x allow_download Order Deny,Allow Allow from env=allow_download Deny from all Replacing x with all the digits of your game server IP, theres lots of different ways it seems to achieve this but was the simplest i found so far (for source engine games only) On Tue, Jan 20, 2009 at 8:04 AM, Guy Watkins <[email protected]>wrote: > Wow, cool. Can you send an example of that? Not sure I can use it, but I > want to know how. > > I need a redirect back to my game server to get missing files! :) But the > game is not a web server. :( > > } -----Original Message----- > } From: [email protected] [mailto:hlds_linux- > } [email protected]] On Behalf Of Arg! > } Sent: Monday, January 19, 2009 3:43 PM > } To: Half-Life dedicated Linux server mailing list > } Subject: Re: [hlds_linux] 301 Redirect for map downloads > } > } Thats it, i have maps on one server and sounds, materials, models on a > } different one. > } > } I got it working by using a .htaccess Permanent Redirect on the /maps > } directory and the game honors it so it follows the redirect to get maps > } but > } stays on the original server to download the other content. > } > } Wouldnt help you for failover but does that explain what ive done here? > } > } On Tue, Jan 20, 2009 at 6:44 AM, Guy Watkins <hlds_li...@watkins- > } home.com>wrote: > } > } > Maybe explain you problem more. Not sure what you are saying. > } > > } > There is only 1 sv_downloadurl. Set it to your best web server and put > } all > } > content needed on the same web server. Virtually everything downloaded > } by > } > the client will come from this URL. > } > > } > You can change sv_downloadurl for each map, but all content will be > } needed > } > on each web server, not just the map's files, but any skins, sounds, > ... > } > > } > I wish there was an option for more than 1 sv_downloadurl. Like a > } failover > } > URL. If a file is not on sv_downloadurl, then try the failover URL. > } Hint > } > Valve! :) > } > > } > Guy > } > > } > } -----Original Message----- > } > } From: [email protected] [mailto:hlds_linux- > } > } [email protected]] On Behalf Of Arg! > } > } Sent: Sunday, January 18, 2009 5:57 AM > } > } To: Half-Life dedicated Win32 server mailing list; Half-Life > dedicated > } > } Linux server mailing list > } > } Subject: [hlds_linux] 301 Redirect for map downloads > } > } > } > } Hey All, > } > } > } > } For circumstances out of my control ive tried to do a redirect for my > } > } external map download server. That is other content comes from my > } regular > } > } web server but the maps specifically are being http redirected to a > } > } different server altogether. Has anyone had any success doing this as > } its > } > } failing for me at the moment. > } > } > } > } Game is tf2 on windows server. > } > } Regards, > } > } Arg! > } > } _______________________________________________ > } > } To unsubscribe, edit your list preferences, or view the list > archives, > } > } please visit: > } > } http://list.valvesoftware.com/mailman/listinfo/hlds_linux > } > > } > > } > _______________________________________________ > } > To unsubscribe, edit your list preferences, or view the list archives, > } > please visit: > } > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > } > > } _______________________________________________ > } To unsubscribe, edit your list preferences, or view the list archives, > } please visit: > } http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

