[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Apache conf or DNS conf help needed



Henrik Grevelund wrote:
> 
> Hi There
> 
> I'm trying to configure my webserver to have virtual hosts, but it
> doesn't seem to work.
> I'm running RH 7.3 with apache/1.3.23
> 

NameVirtualHost *

 
> # Virtual host www.server.com
> <VirtualHost * >
>         ServerName www.server.com
>         DocumentRoot /home/apache/html
> 
>         ServerAdmin webmaster server com
> 
>         DirectoryIndex index.php index.html index.htm index.shtml
>         LogLevel debug
> 
> </VirtualHost>
> 


Add 

NameVirtualHost *

above your first VirtualHost entry...

Barry





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]