Reecemac
Member
Registered: 7th Jun 06
Location: Essex
User status: Offline
|
Does anyone know of any software that will redirect a link coming from a program. What I mean is I have a old program that needs to get a key from a .php file online say www.corsasport.co.uk/key.php and I need it to be redirected to c:/www.corsasport.co.uk/key.php or another online .php as the website is no longer running. Think I made is semi clear
EDIT:And I cannot change the .exe so thats out of the question.
[Edited on 21-08-2009 by Reecemac]
|
Leighton
Member
Registered: 21st Feb 01
Location: Liverpool
User status: Offline
|
If your not able to change the EXE then i dont think you can do it. unless you put a re direct in the old lovation of the key.php file which im guessing you dont have access to.
|
Reecemac
Member
Registered: 7th Jun 06
Location: Essex
User status: Offline
|
Nope, trying to see if there are any packet sniffers which can redirect traffic but hard to find any leads.
|
willay
Moderator Organiser: South East, National Events Premium Member
Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
|
why not just put the website up again? or register the domain and host it yourself?
|
John
Member
Registered: 30th Jun 03
User status: Offline
|
Hosts file?
Not sure if you can point to a local file, you could possibly share it and point to the share?
|
Reecemac
Member
Registered: 7th Jun 06
Location: Essex
User status: Offline
|
Just tried host file but like you said doesnt seem to work with local files, I might host it online and redirct it there instead. Cheers people.
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
i've had to do this in the past, the only solution i found was to run a lightweight HTML server (like AnalogX WebServer) and then change the HOST file in windows to point the domain (www.SoftwareCompany.com) to the local ip address of the webserver (ie: 127.0.0.1).
Then recreate the directory structure of what file is request, so www.SoftwareCompany.com/Products/Software/ would become C:\www\Products\Software\ (www is what the webserver hosts from) and then dump the requested file (key.php) in that directory. Key.php would only containt the requested data the software is requesting.
It's a bit of a faff, but it works. If you have a dedicated hosting with your own IP then you could do the same, but just redirect it to your hosting IP rather than a local IP.
Ideally, you'd want some sort of local DNS redirection (more advanced to what the HOST file can do), that way you could redirect WWW requests from the software to anywhere you want, but i've never managed to find a solution.
[Edited on 21-08-2009 by Dom]
|