Welcome! Log In Create A New Profile

Advanced

configuration assistance with http redirect to a file share

April 14, 2011 03:42PM
Hi,
I have an application that makes download requests to the microsoft website for patches from time via http. What i'd like to accomplish is for the application's requests for patches to be redirected to a file share that resides on our internal network that contains all of the patches instead of microsoft's website.

For example, if my application determines that it needs to download the following patch: WindowsServer2003-KB914961-SP2-x86-ENU.exe. Typically, it would make this request by visiting the follow microsoft url to download the patch: http://www.microsoft.com/downloads/info.aspx?na=41&SrcFamilyId=95AC1610-C232-4644-B828-C55EEC605D55&SrcDisplayLang=en&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f5%2ff%2f1%2f5f104409-2736-48ef-82e1-692ec3da020b%2fWindowsServer2003-KB914961-SP2-x86-ENU.exe .

Instead, i'd like to configure my application to forward its request to the nginx proxy nad have nginx to this request and allow the application to seemlessly obtain the patch from a file share such as: \\remotestorageserver\microsoft\patches\WindowsServer2003-KB914961-SP2-x86-ENU.exe, while allowing all other http requests not meeting the criteria forwarded during normal http.

I've looked around at the example config files and read docs for nginx but I'm not having any success. I would appreciate a sample one that performs a similar task if that exists to get me on the right track.
Subject Author Posted

configuration assistance with http redirect to a file share

sdb1031 April 14, 2011 03:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready