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. Anyone that have seen this, or have idea(s) for what the problem could be ?. Yes I tried asking on the howtoforge, but no reply so far. -- Med venlig hilsen / Best regards Erik Jakobsen DENMARK
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
Leendert Meyer wrote:
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
Hi Leen Ok about the syntax error. I do have the default.aspx in the line DirectoryIndex: DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php5 index.php4 index.php3 index.pl index.html.var index.aspx default.aspx Shouldn't that be ok ?. Think it has been done ok, but I'm not that sure. You are right about reading and confusing as well as the "simple" copy & paste :-) I like your sens of humor. -- Med venlig hilsen / Best regards Erik Jakobsen DENMARK
Erik Jakobsen wrote:
Ok about the syntax error. I do have the default.aspx in the line DirectoryIndex:
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php5 index.php4 index.php3 index.pl index.html.var index.aspx default.aspx
Shouldn't that be ok ?.
Nope, the last part is on a separate line. It doesn't show in the quoted part above, but in your origianl posting it's quite clear. /Per Jessen, Zürich
Per Jessen wrote:
Erik Jakobsen wrote:
Ok about the syntax error. I do have the default.aspx in the line DirectoryIndex:
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php5 index.php4 index.php3 index.pl index.html.var index.aspx default.aspx
Shouldn't that be ok ?.
Nope, the last part is on a separate line. It doesn't show in the quoted part above, but in your origianl posting it's quite clear.
/Per Jessen, Zürich
Again Per, I agree with you. -- Med venlig hilsen / Best regards Erik Jakobsen DENMARK
On Wednesday 24 May 2006 11:08, Erik Jakobsen wrote:
Leendert Meyer wrote:
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
Hi Leen
Ok about the syntax error. I do have the default.aspx in the line DirectoryIndex:
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php5 index.php4 index.php3 index.pl index.html.var index.aspx default.aspx
Shouldn't that be ok ?.
Well, my (or your) mail program broke the line in three lines, so I can't tell. The whole DirectoryIndex ... default.aspx line should be on 1 single line. If apache doesn't complain, you must have done it right. ;)
Think it has been done ok, but I'm not that sure. You are right about reading and confusing as well as the "simple" copy & paste :-)
I like your sens of humor.
LOL, thanks! :) Cheers, Leen
Leendert Meyer wrote:
On Wednesday 24 May 2006 11:08, Erik Jakobsen wrote:
Leendert Meyer wrote:
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
Hi Leen
Ok about the syntax error. I do have the default.aspx in the line DirectoryIndex:
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php5 index.php4 index.php3 index.pl index.html.var index.aspx default.aspx
Shouldn't that be ok ?.
Well, my (or your) mail program broke the line in three lines, so I can't tell. The whole DirectoryIndex ... default.aspx line should be on 1 single line.
I couldn't see what you meant, but another person sent me a direct mail, and what he wrote suddenly opened my eyes, and I could see it. I did not say, that you are writing not understable ;-) Now I also can see, what you wrote :-)
If apache doesn't complain, you must have done it right. ;)
Well the answer is, that ISPconfig is installing at the present, and that tells it all :-)
Think it has been done ok, but I'm not that sure. You are right about reading and confusing as well as the "simple" copy & paste :-)
I like your sens of humor.
LOL, thanks! :)
You are most welcome
Cheers,
Leen
-- Med venlig hilsen / Best regards Erik Jakobsen DENMARK
participants (4)
-
Erik Jakobsen
-
Erik Jakobsen
-
Leendert Meyer
-
Per Jessen