httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "j k" <jonnyk...@gmail.com>
Subject Re: [users@httpd] Virtual Host problems
Date Sat, 22 Mar 2008 20:14:20 GMT
On Sat, Mar 22, 2008 at 9:46 AM, Edwin <ddogej@excite.com> wrote:

> People whom know more than me please inform me of what I'm doing wrong
>
>
>
> <VirtualHost *:80>
> DocumentRoot C:/users/edwin j mcleod/documents/Apache Software
> Foundation/Apache2.2/htdocs
> ServerName www.Example.com
> # Other directives here
> </VirtualHost>
>
> <VirtualHost *:80>
> DocumentRoot C:/users/edwin j mcleod/documents/Apache Software
> Foundation/Apache2.2/htdocs2
> ServerName www.Example.com
> # Other directives here
>
> </VirtualHost>
>
>
>
> Syntax error on line 165 of c:/Users/Edwin J Mcleod/Documents/Apache
> Software Foundation/APache2.2/conf/httpd.conf:
> Documentroot takes one argument, Root directory of the document tree
>
>
>
> ------------------------------
> **


There's th eproblem:
'Documentroot takes one argument, Root directory of the document tree'

Try quotes around that:
DocumentRoot "C:/users/edwin j mcleod/documents/Apache Software"


Neither windows nor unix/linux likes a space in a file name.
Good luck

Mime
View raw message