Page 1 of 1

Syntax error on line 229 of /opt/lampp/etc/httpd.conf

PostPosted: 05. August 2013 20:35
by jl2035
I'm using xampp 1.8.1 on Ubuntu machine...

And it just stopped working a few days ago. If I run: sudo /opt/lampp/httpd i get this output:

Code: Select all
AH00526: Syntax error on line 229 of /opt/lampp/etc/httpd.conf:
DocumentRoot must be a directory


In that file i see:
Code: Select all
224   #
225   # DocumentRoot: The directory out of which you will serve your
226   # documents. By default, all requests are taken from this directory, but
227   # symbolic links and aliases may be used to point to other locations.
228   #
229   DocumentRoot "/opt/lampp/efront/www"
230   <Directory "/opt/lampp/efront/www">


Please help... I have no idea what to do...

Re: Syntax error on line 229 of /opt/lampp/etc/httpd.conf

PostPosted: 05. August 2013 23:38
by Dweeber
Assuming that www is actually a directory, what are the permissions and ownership of

/opt/lampp/efront

and

/opt/lampp/efront/www

Re: Syntax error on line 229 of /opt/lampp/etc/httpd.conf

PostPosted: 06. August 2013 15:11
by jl2035
hm... that directory is gone or it was never there...

Re: Syntax error on line 229 of /opt/lampp/etc/httpd.conf

PostPosted: 06. August 2013 18:51
by jl2035
This is strange... but I'm glad the problem is gone now...
I changed that value to /opt/lampp/htdocs and than start xampp... and bam.. xampp started!

I have no idea how and when that file was changed (if it was). I didn't update my computer or xampp or anything...