DocumentRoot not being set in versions 1.5.4 and 1.5.4a
Posted: 12. October 2006 20:12
When I try to start Apache with xampp-control.exe or with apache_start.bat, apache doesn't start. This is the message that appears:
Apache 2 is starting ...
apache.exe: Syntax error on line 42 of C:/Documents and Settings/xxxxx/My Documents/downloads/XAMPP Lite 1.5.4a/xampplite/apache/conf/httpd.conf: ServerRoot must be a valid directory
Looking in the httpd.conf file, DocumentRoot looks like this:
Version 1.5.1 starts fine. It's DocumentRoot looks like this:
Apache 2 is starting ...
apache.exe: Syntax error on line 42 of C:/Documents and Settings/xxxxx/My Documents/downloads/XAMPP Lite 1.5.4a/xampplite/apache/conf/httpd.conf: ServerRoot must be a valid directory
Looking in the httpd.conf file, DocumentRoot looks like this:
- Code: Select all
DocumentRoot "/xampplite/htdocs"
Version 1.5.1 starts fine. It's DocumentRoot looks like this:
- Code: Select all
DocumentRoot "C:/Documents and Settings/xxxxxx/My Documents/downloads/XAMPP Lite 1.5.1/xampplite/htdocs"