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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby jl2035 » 05. August 2013 20:35

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...
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
XAMPP Version: 5.6.3
Operating System: ElementaryOS (Ubuntu)

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

Postby Dweeber » 05. August 2013 23:38

Assuming that www is actually a directory, what are the permissions and ownership of

/opt/lampp/efront

and

/opt/lampp/efront/www
Dweeber
 
Posts: 7
Joined: 06. December 2011 22:27
XAMPP Version: 5.6.3
Operating System: Solaris 10 Sparc & x86

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

Postby jl2035 » 06. August 2013 15:11

hm... that directory is gone or it was never there...
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
XAMPP Version: 5.6.3
Operating System: ElementaryOS (Ubuntu)

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

Postby jl2035 » 06. August 2013 18:51

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...
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
XAMPP Version: 5.6.3
Operating System: ElementaryOS (Ubuntu)


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests