On Tue, Feb 14, 2012 at 12:44 PM, florent larose <florent.larose@xxxxxxxxxxx> 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.
<VirtualHost 127.0.0.1>
ServerName quickstart.local
DocumentRoot "C:/Program Files/Zend/ZendFramework-1.11.11/quick/public"
SetEnv APPLICATION_ENV "development"
<Directory "C:/Program Files/Zend/ZendFramework-1.11.11/quick/public" >
DirectoryIndex index.php
AllowOverride All
Order allow, deny
Allow from All
</Directory>
</VirtualHost>