On Fri, 12 Oct 2007 15:16:53 -0700,
william.hooper.RemoveThis@gmail.com wrote:
>I have tried on my qnap, I have installed apache on my windows pc and
>done the sanme thing. I have read dozens of articles. I hate Apache.
>No wonder MSFT dominates the software world. I don;t think I have ever
>spent so long trying to so little on a computer.
>Installed Apache and it runs on PC.
>
>Changed host file to route mydomain1.com to my pc's
>ip address and likewise with mydomain2.com.
>
>Put this code iat the end of http.conf:
>
>NameVirtualHost *
>
><VirtualHost *>
>ServerName mydomain1.com
>DocumentRoot "C:\Web\Dir1"
></VirtualHost>
>
><VirtualHost *>
>ServerName mydomain2.com
>ServerPath /whooper
>DocumentRoot "C:\Web\Dir2"
></VirtualHost>
>
Use NameVirtualHost *:80 and VirtualHost *:80.
Make sure the port matches the Listen directive.
Change the backslashes in the DocumentRoot entries into
forward slashes.
Add a <Directory ....> block in each virtual host for its
documentroot.
I wouldn't use ServerPath anymore. At least try to get
things running without it until the sites work normally
with recent browser versions.
>and it does nothing.
I assume you did start Apache? And restart after every
config change?
Any entries in access_log and error_log?
> What a total waste of my life.
I'm sure you'll get it going before Monday morning,
there's plenty of time left. First have a nap, and / or
make a walk. It often helps.
Good luck.
--
( Kees
)
c[_] Which is worse, ignorance or apathy? Who knows? Who cares? (#202)
>> Stay informed about: 12 hours to get it to work and no luck -- friday night 23:13