On Wednesday 24 May 2006 08:55, Erik Jakobsen wrote:
Hi.
Per the instrcution given on howtoforge, I am trying to set up a SuSE 10.1 server. All but the Apache setup went ok.
I cannot find what's wrong. All the modules are doublecheked for being installed, as the message gives a not installed module one of the reasons for the problem.
Here's what I'm getting:
/etc/init.d/apache2 start Starting httpd2 (prefork) Syntax error on line 165 of /etc/apache2/httpd.conf: Invalid command 'default.aspx', perhaps misspelled or defined by a module not included in the server configuration
The command line was: /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
The default.aspx neither is misspelled.
It is a syntax error, as apache indicated. default.aspx belongs on the same line as DirectoryIndex. In the HOWTO, on page 6, it was presented as *1 line*. Maybe your browser rendered the line in a way that it confused you? ;-) It seems the "simple copy & paste", as the howto presents itself, is not that simple. ;-) Cheers, Leen