You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by eric lin <fs...@centurytel.net> on 2002/12/24 17:16:26 UTC
[users@httpd] Re: webserver using name based virtual hosts, make problem
Bernd Eckenfels wrote:
> Hello,
>
> your apache config does not contain named virtual hosts, so your problem is
> in the fact that the ip for:
>
>
>
>>ServerName www.linuxspice.com
>
>
> is not
>
>
>>Listen 64.91.61.186:80
>
>
> So this means if you specify http://www.linuxspice.com/case.jpg it will not be the
> same as http://64.91.61.186/case.jpg, unless you are on a host which has set up this
> wrong name mapping, because it is http://63.85.86.80/case.jpg.
>
> Greetings
> Bernd
so if I want that <img src="http://www.linuxspice.com/case.jpg">
showed photo in finitesite.com/fsshl
I need to modify my httpd.conf
----------------
# VirtualHost: Allows the daemon to respond to requests for more than one
# server address, if your server machine is configured to accept IP packets
# for multiple addresses. This can be accomplished with the ifconfig
# alias flag, or through kernel patches like VIF.
# Any httpd.conf or srm.conf directive may go into a VirtualHost command.
# See also the BindAddress entry.
#<VirtualHost host.some_domain.com>
#ServerAdmin webmaster@host.some_domain.com
#DocumentRoot /var/www/host.some_domain.com
#ServerName host.some_domain.com
#ErrorLog /var/log/apache/host.some_domain.com-error.log
#TransferLog /var/log/apache/host.some_domain.com-access.log
#</VirtualHost>
--
is this part need to be modify?
if so, should I do this?
-------------
<VirtualHost www.linuxspice.com
DocumentRoot /var/www/
ServerNmae www.linuxspice.com
</VirtualHost>
---------------
that is in the last part of my httpd.conf
please help again, thanks in advance
Sincere Eric
www.linuxspice.com
linux pc for sale
---------------------------------------------------------------------
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