iamz3r0 Posted December 31, 2013 Share Posted December 31, 2013 (edited) I'm attempting to create a mod for a game. My console requests a file from an online server and caches it. After it's cached it doesn't bother loading it again. Originally this mod was done by blocking requests to the server and redirecting it to a local server where the modified file was hosted. Now if you block the server it is unable to connect to another URL on the same server that verifies you don't have it blocked. In all I have to find a way to block a specific request for a URL (e.g http://test.site.com/file.extz) and allow others to connect to the internet. I know this should be very simple but I can't figure it out. I'm planning on running my console's traffic through my Windows PC, running my PC's traffic through a proxy that filters URLs like this: Console ------>Windows PC ( Proxy ) If request is for http://test.site.com/file.ext ----------> LOCALLY HOSTED /file.ext or WEBSERVER | | If request is not for http://test.site.com/file.ext ------------> SERVER I've been dealing with redirect after redirect all day so I'm confused! Thanks ahead of time, Zero Edited December 31, 2013 by iamz3r0 Quote Link to comment Share on other sites More sharing options...
BeetleChunks Posted January 2, 2014 Share Posted January 2, 2014 (edited) I find your question interesting, so I would like to look into it. Could you give some more information. What console? How are you currently blocking? etc. Also, I just found this. IDK if it will help. Source: http://technet.microsoft.com/en-us/library/cc732930(v=ws.10).aspx 1) Open Control Panel 2) Select "Programs and Features" 3) Click on the "Turn Windows features on or off" link on the left nav bar 4) Expand Internet Information Services | World Wide Web services | Common HTTP Features 5) Check the "HTTP Redirection" item Note: While in windows features, make sure 'internet information services' is checked. 6) open run and type 'inetmgr' then ok There will be an option that says HTTP Redirect. You can click on that and it will give you the option. And this: https://forums.cpanel.net/f5/how-setup-301-redirects-specific-urls-htaccess-file-292941.html Again Idk if this will work for you, but its a good place to start imo. Edited January 2, 2014 by BeetleChunks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.