Apache, Virtual Hosts, Linux hosts file
Stephen
stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon Mar 28 03:39:15 UTC 2005
Zbigniew Koziol wrote:
> Stephen wrote:
>
>> I have a Linux box (Mandrake 10.1) running Apache 2.0.
>>
>> I am using it for testing of PHP-MySQL scripts.
>>
>> I have it working, but I had to map the virtual urls to the Linux
>> box's ip address in the Linux hosts file.
>>
>> I am using a web browser on another machine on my network. If I do
>> not have the entries in the Linux box's hosts file, I get the default
>> Apache welcome page.
>>
>> I am not using DNS, just entries in the hosts file on the machine I
>> am running the browser on.
>>
>> Why do I need the entry in the Linux box's hosts file? I am
>> considering the possibility that I have a configuration problem. She
>> not the entry in the VHosts.conf file for the virtual hosts be
>> sufficient?
>
>
> How your browser is supposed to know otherwise where to send request
> if you do not use DNS entries?
>
>> I am not trying to use a browser on the Linux box!
>
>
>
> So, windows, heh?
OS/2 actually. But I will test on Windows as well when the time is right.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stephen-d.vcf
Type: text/x-vcard
Size: 143 bytes
Desc: not available
URL: <http://gtalug.org/pipermail/legacy/attachments/20050327/c65cef3a/attachment.vcf>
More information about the Legacy
mailing list