httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yehuda Katz <yeh...@ymkatz.net>
Subject Re: [users@httpd] checking my httpd.conf
Date Tue, 14 Feb 2012 17:47:28 GMT
On Tue, Feb 14, 2012 at 12:44 PM, florent larose <florent.larose@hotmail.com
> wrote:

>  Well,
> I try to check my httpd.conf file with the command:
> Apache -t
> Now i obtain the following error message :
> "syntax error on line 961 of
> c:\wamp\bin\apache\apache2.0.63\conf\httpd.conf -- it is my httpd.conf path
> : DocumentRoot takes one argument, Root directory of the document tree"
>
> What does it mean ? what must I do ?
> Thanks for your help.
>

What does that line in httpd.conf actually say? (Hint: use a program like
Notepad++ that has a Go-To-Line-Number___ feature.)

If I had to guess, your DocumentRoot has a space in it, so you need to make
sure the whole thing is in quotes.

- Y

Mime
View raw message