Appliance/Apache setup help

peterm

Joined: 2004-12-13
Posts: 39
Posted: Tue, 2007-07-24 17:37

Hello
Is there any way that one can run a Gallery Appliance in VMWare along side an Apache website (in the host os)? Im not sure on how to setup Apache so that it knows that if someone types in domain.com/gallery that it will pass this request on to the virtual machine while taking care of anything in domain.com. My virtual machine has an ip in the 192.168.x.x range and I use dynamic DNS to get my domain pointing to my home computer. While this isn't directly Gallery related, I don't know what this type of feature would be called so I can't search for it on google. Any tips on how to do this would be helpful. Thanks for the help. P

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2007-07-24 17:47

If you have a webserver setup on your PC, why not just use that? I'd imagine there is no reason to use the appliance.

Otherwise, achieving what you want is going to be awkward.

1) you could run a reverse proxy server on the "host" os, so that all requests are forwarded through it (for your host os's site and the vmware os's). I have no idea how to do this.

2) setup a second port forward on say port 81 that forwards to 80 on the vmware os, then setup a url redirect/refresh in on your site in a folder named "/gallery/"

These are all very silly though. You should just setup gallery on your existing web server, there are plenty of directions for people using IIS, etc.
_________________________________
Support & Documentation || Donate to Gallery || My Website

 
peterm

Joined: 2004-12-13
Posts: 39
Posted: Tue, 2007-07-24 18:03

I like option two, and I might do that. The reason I like the virtual appliance is that its portable and easy to backup and move. I have been running the gallery from my computer (first in IIS now in apache) for a couple years now but it being my main computer I use it for gaming and other things that eventually make windows unstable, and from time to time I need to format and reinstall. The gallery has become easier and easier to install and Im comfortable doing that, but ever since using mysql for the database (which I have no experience with) I don't feel comfortable moving and reinstalling the gallery. (I lost my all my comments, descriptions, etc, last time I reformatted because I didn't know that I had to run special backup procedure on the sql database). Anyways, I think this way will be easy to run, backup etc when I have to reformat, or if I upgrade, or get a new computer then I just install VM Player and forward the ports and its up in 10 minutes. I will try using another port for the virtual machine, using zoneedit.com makes this pretty simple I think, thanks for the tip. P