[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RAQ3: Problem parsing default 404 page
- Subject: [cobalt-users] RAQ3: Problem parsing default 404 page
- From: Per Magne Knutsen <pknutsen@xxxxxxxxx>
- Date: Tue Sep 10 20:47:05 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
Whenever my RaQ3 attempts to retrieve any of the error files located
in
/usr/admserv/html/.cobalt/error
such as fileNotFound.html (the default 404 page), all browsers display
the text in those file, rather than displaying it as a webpage. The
HTML code in those files is ok. I am including the complete text
below for reference (copied directly from the browser window).
Notice also that the RaQ does not replace the inline [...] tags with
the language specific expressions. For instance, [str.fileNotFound]
should instead read "File Not Found".
It seems the RaQ does an error when attempting to parse the file, but
I cannot figure out what is wrong and which script(s) might be
involved.
Does anyone know which script processes this file? My default 404 entry
in srm.conf looks like this:
ErrorDocument 404 /cobalt_error/fileNotFound.html
which looks ok to me. Is there supposed to be a script parsing this
file whenever it is called, or am I mistaken?
Regards,
Per M Knutsen
<HTML>
<HEAD><TITLE>[str.fileNotFound]</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER>
<BR><BR>
<TABLE BORDER=1 WIDTH=416 CELLSPACING=0>
<TR>
<TD BGCOLOR=#6666CC>
<TABLE>
<TR>
<TD><FONT SIZE=5 COLOR=#FFFFFF><B>[str.fileNotFound]</B></FONT></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>
<BR>
<BLOCKQUOTE>
<TABLE>
<TR>
<TD><IMG SRC="/.cobalt/images/question_warning.gif" ALIGN=LEFT BORDER=0></TD>
<TD>
<FONT COLOR=#000000>[str.fileNotFoundNote]</FONT>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>