Re: [HAB] Virtual Host
| From: | Jason Wong | Date: | Thu, 29 Jul 2004 12:50:19 +0000 |
| Subject: | Re: [HAB] Virtual Host | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192180@lists.php.net to get a copy of this message | ||
On Thursday 29 July 2004 19:16, EE wrote:
This question is OT ...
> How can I make a virtual host. I usually type 127.0.0.1 in my browser to
> test my site but I need to work on another site in a different
> directory?
... check out http://httpd.apache.org/docs/
Also you need to set up some DNS entries so that entering (for example):
http://www.mytestite.com/
will point to your local webserver. The easiest way to do this is to add
entries in /etc/hosts.
> I am running Apache, PHP4, Mandrake 10. I am not sure which appache I
> am running but when I do 'apachectl graceful' it says "Reloading httpd2"
>
> I hope that I am not running apache2 as it is not recommended to use
> apache2 and php in production.
httpd2 usually signifies Apache 2.X.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Absence makes the heart forget.
*/