yehuda at ymkatz
Feb 14, 2012, 9:54 AM
Post #6 of 11
On Tue, Feb 14, 2012 at 12:47 PM, Yehuda Katz <yehuda [at] ymkatz> wrote:
> On Tue, Feb 14, 2012 at 12:44 PM, florent larose <
> florent.larose [at] hotmail> wrote:
>> 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.
Forget the guess, my anti-virus had removed your original attachment
because it had a "Unknown Type".
Usually on Windows, you convert the backslashes to forward slashes and put
the whole thing in quotes:
> 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