You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Trevor Rhodes <tr...@rhodes-online.net> on 2003/12/31 01:54:45 UTC

[users@httpd]Half Resolved - Virtual Sites not showing up on network

Hello All,

> Just a little problem.  I have apache2 installed with five virtual domains,
> phpmyadmin, mysql and ftpserver on 192.168.0.43
>
> That seems to work well there, but not from 192.168.0.40 or 42.
>
> What/where should I look for to fix this situation.

I was going to

http://192.168.0.43

and getting the apache screen, but when I added something like

/dural

to the end so I could get to one of the virtual sites, it was changing from 
192.168.0.43 to 127.0.0.1 and was looking on my machine instead.

So, do I now have to look for all occurences of localhost and/or 127.0.0.1 and 
change them to 192.168.0.43 ?

Will this fix my problem?

 Regards
      Trevor Rhodes
===========================================
Powered by Linux                -             Mandrake 9.2
Registered Linux user # 290542 at http://counter.li.org
Registered Machine #'s 186951
Mandrake Club Silver Member
Source :  my 100 % Microsoft-free personal computer.
===========================================
 11:54:42 up  3:05,  1 user,  load average: 1.00, 1.00, 1.00
-- 
Never mud wrestle with a pig.. you get dirty and the pig enjoys it!
Never try to teach a pig to dance. You waste your time and annoy the pig.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd]Half Resolved - Virtual Sites not showing up on network

Posted by Robert Andersson <ro...@profundis.nu>.
Trevor Rhodes wrote:
> I was going to
>
> http://192.168.0.43
>
> and getting the apache screen, but when I added something like
>
> /dural
>
> to the end so I could get to one of the virtual sites, it was changing
from
> 192.168.0.43 to 127.0.0.1 and was looking on my machine instead.
>
> So, do I now have to look for all occurences of localhost and/or 127.0.0.1
and
> change them to 192.168.0.43 ?

Yes, you might also want to try to avoid specifying the IP where it is
possible. But, what you want here is:
    UseCanonicalName Off
 (http://httpd.apache.org/docs-2.0/mod/core.html#usecanonicalname)

This controls what hostname Apache will use when building an absolute URI
when it needs to redirect to it self. 'Off' means to use whatever hostname
the client used to make the original request, rather than the configured
ServerName.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org