Re: Virtual Host problems

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

 





On Sat, Mar 22, 2008 at 9:46 AM, Edwin <ddogej@xxxxxxxxxx> 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
 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux