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.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to