[SLE] How to redired outside http address to local box?
Hello all, I have (maybe) very stupid question. I need to simulate our company server on my SuSE 9.2 box, because: 1. I don't want to change public server content 2. I don't have access to that server 3. I need to test my software, which on the end will use addresses from our company server to download something, but I need to simulate various situations and the easiest would by on local box. How to do that? Thanks. Greetings, TRoland. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Monday 31 July 2006 22:05, Roland Turcan - RoTurSoft wrote: ...
2. I don't have access to that server ... How to do that?
If you don't have access to that server, then you can't redirect it. If you have access to the DNS entry you can change that to point to your box (assuming you have a static IP). If you just want to develop the site on your box, there is no need to redirect anything. Just add an entry in your /etc/hosts, like 'mycompany', add the appropriate vhost entry in your apache configuration, and you're done. (See the Apache documentation for setting up VirtualHost (vhost) entries.) -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
Roland Turcan - RoTurSoft wrote:
I have (maybe) very stupid question. I need to simulate our company server on my SuSE 9.2 box, because:
1. I don't want to change public server content 2. I don't have access to that server 3. I need to test my software, which on the end will use addresses from our company server to download something, but I need to simulate various situations and the easiest would by on local box.
How to do that?
You copy all the contents and setup from your companys server and run it on your local machine. Judging by the Subject: we're talking about a webserver, so you could access it using http://localhost:/ /Per Jessen, Zürich
participants (3)
-
Per Jessen
-
Roland Turcan - RoTurSoft
-
stephan beal