Page 1 of 1

Problems with httpd.comf: Rootserver

PostPosted: 15. September 2006 14:24
by guillermo blasco
Hallo,
Sorry not writing in German. I successfully installed the xampp package and was able to run the apache. But for any reason I'm not able to run it anymore.
When I double click on apache_start.bat it shows the following error message:
"Syntax error on line 42 of C:Program Files/xampp/conf/httpd.conf: ServerRoot must be a valid directory."

I went to de file, but can't see anything strange:
ServerRoot "/xampp/apache"

Can anybody help me with this? Thank you.

Re: Problems with httpd.comf: Rootserver

PostPosted: 15. September 2006 17:26
by Izzy
guillermo blasco wrote:...When I double click on apache_start.bat it shows the following error message:
"Syntax error on line 42 of C:Program Files/xampp/conf/httpd.conf: ServerRoot must be a valid directory...

C:Program Files/xampp/conf/httpd.conf
Was this a typo?
This should this be:
C:/Program Files/xampp/conf/httpd.conf

Open a command prompt:
Click on Start in the Task Bar
Click on Run...
Type cmd.exe
Click OK
Type cd c:\Program Files\xampp\apache\bin
Hit Enter
Type apache -t
Hit Enter

Paste here what you see.