Afficher un message
Vieux 02/11/2005, 17h59   #2
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Websites show DocumentRoot index, instead of going to their homepages?

On Wed, 02 Nov 2005 17:17:17 GMT, Neil Barras
<dontspamme@spammenot.com> wrote:

>Hi all,
>
>I have just moved to Xampp and am having trouble with Apache (2.0.54). I
>run (or want to run) two websites, and have set up the Vhosts to the
>best of my knowledge, but when I type in one of the domains, it comes up
>with the DocumentRoot, not the homepage, and the only to get into the
>sites is to put either /abcltd or /personal (the document folders) at
>the end of the urls. My conf file is:
>
>Code:


[snip]
> #NameVirtualHost *:80


Take away the # here.

NameVirtualHost *:80

80 is the default, you don't actually need it.

NameVirtualHost *

> <VirtualHost dogsiwoo.no-ip.org>

[snip]
> <VirtualHost abcltd.no-ip.org>


Try with
<VirtualHost *>
for both vhosts.

ServerName takes care of the name matching.

HTH
--
( Kees
)
c[_] The ideal is to be hard-headed and soft-hearted;
too many people have it backwards. (#160)
  Réponse avec citation
 
Page generated in 0,04429 seconds with 9 queries