NYCPHP Meetup

NYPHP.org

[nycphp-talk] Need virtual host Apache help ...

John Lacey jlacey at ix.netcom.com
Thu May 22 09:33:02 EDT 2003


why not just have each site in a separate directory under DocumentRoot?

e.g. if the document root is /var/www/html, then site directories under
that path, "site1", "site2", etc

so the only thing you'd have to do is http://locahost/site1
and so forth...  or just localhost/site1





----- Original Message -----
From: "Jon Baer" <jonbaer at jonbaer.net>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Thursday, May 22, 2003 7:18 AM
Subject: [nycphp-talk] Need virtual host Apache help ...


Im trying to setup my laptop to host 5 different PHP-based sites for dev
purposes and getting lost on how to setup Virtual hosting so that it's
port
based w/Apache (I can't remember if it could do it or not or if it was
another webserver), ie. port 81 -> site 1, port 82 -> site 2, etc.

<VirtualHost *>
?
</VirtualHost>

Any ideas?  I just would like to not edit httpd.conf every time.

- Jon



--- Unsubscribe at http://nyphp.org/list/ ---






More information about the talk mailing list