![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
As far as I have been able to tell, you must copy files to a location within your Virtual PC "hard drive" in order to access them from a Windows browser, or any other Windows software you may have--you cannot access files from within VPC that reside elsewhere on your Mac. So, like you, every time I need to check something in a Windows browser I have to copy it to the VPC "hard drive." I have never tried it, but doubt very much that you can access the Windows browsers as previewers from within DW running on the Mac. |
#5
| |||
| |||
|
|
Hi Osgood, I would probably place all my site files in the Mac's web server directory (/Library/WebServer/Documents/) or the Sites directory in your home directory (/Users/username/Sites). Then, turn on Personal Web Sharing from the Sharing control panel and host from the Mac. You probably can't use http://localhost/ or http://localhost/~username/ because the Windows virtual machine will likely think it's trying to call itself (technically a separate computer). However, either the Sharing control panel or the Network control panel will tell you what your Mac's current IP address is, and you can use that from the Windows VM. Your IP address will likely be a 169.254.x.x address if you're connected to a network without a DHCP server, 192.168.1.x if you're behind a SOHO router like a LinkSys or Netgear, or whatever your corporate address is if your on a company network. This could be tricky if your machine isn't connected to the network at all (no cables, no hub/switch), because I don't think an IP address is even assigned if the NIC doesn't see a network connection. The biggest reason I suggest this method is, while static files work fine when you move them from your Mac to VPC, dynamic files (PHP, JSP, whatever) won't because it requires a web server to process the code. It seems a little overwhelming at first, but it works great once you get the hang of it. So the short story is: 1. Host the files on your Mac's web server 2. Use the Mac's IP address in your Windows browser address bar Best regards, Chris |
#6
| |||
| |||
|
|
As far as I have been able to tell, you must copy files to a location within your Virtual PC "hard drive" in order to access them from a |
#7
| |||
| |||
|
|
Also can I have more than one version of a browser on VPC? |
#8
| |||
| |||
|
|
Just share your site folder inside of VPC. |
#9
| |||
| |||
|
|
As for IE, you can install multiple versions via this hack: http://www.skyzyx.com/archives/000094.php |
#10
| |||
| |||
|
|
When you say share do you mean, as Chris has said, use the webserver on osX to create a dynamic site and call up the file through the via the pc browsers? |
![]() |
| Thread Tools | |
| Display Modes | |
| |