Ask a Question related to PHP Development, Design and Development.
-
Michael #1
development setup with virtual hosting for Windows
Hi - I want to set up Apache, PHP and MySQL to work on my home pc so that I
can test and make changes to sites before I upload them. I've noticed that
there are a number of packages out there designed to make the installation
easier. I don't really have a problem with this part (although I would
appreciate any recommendations anyone has as to good packages that also
include PHPMyAdmin). My problem is this - I want to be able to run all of my
sites (a couple of dozen) with Apache set so that each site is on a virtual
server, but when I do this with my current seup by
adding lines to
\Apache\conf\httpd.conf
along the lines of:
<VirtualHost 127.0.0.1>
DocumentRoot "C:\sites\site1"
ServerName legui
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot "C:\sites\site2"
ServerName hamblys
</VirtualHost>
and adding lines to
\WINDOWS\system32\drivers\etc\hosts
along the lines of
127.0.0.1 site1.local
127.0.0.1 site2.local
Windows insists on trying to dial up before allowing me to see the sites on
my own machine, which rather defeats the point. Any advice on how to set
this up so that windows will acccess these sites offline, or any packages
that include built in facilities to modify the server set up that would
achieve the same result would be very gratefully appreciated.
Michael
Michael Guest
-
Cold Fusion / MySQL development setup NIGHTMARE!
Please, somebody, anybody.. I have tried many possible combinations of MySQL Server and the J connector. Nothing works. I have two DSN that I've... -
Virtual Flash Communication Server Hosting
I think I understand now how to create seperate virtual hosts within FCS. The problem now is I need to be able to measure bandwidth by each... -
Session Variables / IIS Virtual Hosting
i am working on setting up a website that is on a shared windows server we have and coldfusion won't hold the session variables. ie. if i set the... -
Virtual hosting with WEBrick?
Hi, I'm checking out WEBrick and it looks great. I wonder if there is some easy way to do "virtual hosting" so that I can host several domains... -
NETWROK SETUP FROM WINDOWS 2000 PRO TO WINDOWS XP PRO
Please help... I recently purchased a new system that runs windows xp and have no idea on how to set up a network to my old system which runs... -
Andy Hassall #2
Re: development setup with virtual hosting for Windows
On Fri, 24 Sep 2004 04:16:33 +0000 (UTC), "Michael"
<letters@britishlibrary.net> wrote:
[...]> My problem is this - I want to be able to run all of my
>sites (a couple of dozen) with Apache set so that each site is on a virtual
>server, but when I do this with my current seup by
>adding lines to
>\Apache\conf\httpd.conf
>along the lines of:
><VirtualHost 127.0.0.1>
>DocumentRoot "C:\sites\site1"
>ServerName legui
></VirtualHost>Can't vouch for the results of this as I've not used a machine without a>
>and adding lines to
>\WINDOWS\system32\drivers\etc\hosts
>
>along the lines of
>127.0.0.1 site1.local
>127.0.0.1 site2.local
>
>Windows insists on trying to dial up before allowing me to see the sites on
>my own machine, which rather defeats the point. Any advice on how to set
>this up so that windows will acccess these sites offline, or any packages
>that include built in facilities to modify the server set up that would
>achieve the same result would be very gratefully appreciated.
network card in years, but the following is how to install a loopback device so
you can have local network access without it trying to open a real network
device... which if all you have is a modem could cause a dialup.
[url]http://support.microsoft.com/?kbid=236869[/url]
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Andy Hassall Guest



Reply With Quote

