• theshoaibahmed

    (@theshoaibahmed)


    hi all

    i am having a problem and some how i cant resolve it. getting

    Syntax error on line 229
    /Applications/XAMPP/xamppfiles/etc/httpd.conf:
    DocumentRoot must be a directory

    i check httpd.conf everythign is fine.

    please.

    my site is fully build now and now i am geting error and cat access the site

Viewing 3 replies - 1 through 3 (of 3 total)
  • RossMitchell

    (@rossmitchell)

    Look at line 229 of the httpd.conf file.
    Apache is expecting a directory to be named, to be used as the root directory for a website. But apache can’t find the named directory.
    Look for spelling errors, or just erase and re-enter the required directory. Does the directory name contain any special characters ?

    Thread Starter theshoaibahmed

    (@theshoaibahmed)

    Now Apache Working,. but doesnt matter what i do my.cnf that start

    port =3306
    socket =/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock

    but noticed when i go to mysql folder i cant findmysql.sock file.

    any help.

    I was having this same problem. Delete your quotation marks and retype them — that fixed it for me.

    DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"
    <Directory "/Applications/XAMPP/xamppfiles/htdocs">
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Syntax error on line 229’ is closed to new replies.