|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hello
I'd like to replicate a site with it's URL so i can type in my browser www.myclientssite.com eventhough the site is still in my pc. I use win 98 and Apache I know this has something to do with host files under c:/windows and with <virtualhost> directive in apache. Can somebody help me? |
|
#2
|
||||
|
||||
|
the only thing i can think of is to get ie to cache all of the pages, then work offline...but otherwise you are making a request via http.
|
|
#3
|
|||
|
|||
|
Well, first, in order to make your computer serve files for 'www.myclient.com' you could put the site name into your c:windowshosts file like this:
<IP address> <site name> But that would require that your system has an IP. You could try the loopback address which is (IIRC) 127.0.0.1. Anyway, this will screw up normal name resolution for this site. Look at the virtual name server info at apache.org. It's pretty clear. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > How to view files on localhost in the form www.url.com |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|