[users@httpd] server start error with <LINK> statement src'd from a frameset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Curious server startup bug description attached as
plain text file.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

I Downloaded apache_2.0.53-win32-x86-no_ssl.msi for the first time ever.
Took all defaults and completed the installation error free.

I decided I had a bug to report but first I would try and uninstall 2.0.53
and install the newest 2.0.54.

The following description of the problem happens on BOTH versions
of Apache.  The error message comes out in a DOS window and starts a
countdown of 30 seconds.  The server never starts.

I've tried numerous combinations, read the FAQ and the manual and
searched the web.  I would read the source code except that:

	1) I don't have any way to compile it and
	2) I have a dial up and don't feel like getting up
	   at 4:00 am to start a download  ;-)

It seems to me that given that I only made 1 change ( put the
alias/directory directives in httpd.conf ), I should see the frameset
parsed correctly.

I'm running Windows 2K Professional BTW.

If anyone has seen this before or perhaps has a pointer to some info.
I would appreciate it.

Thanks in advance,
Gary





PROBLEM DESCRIPTION FOLLOWS
VVVVVVVVVVVVVVVVVVVVVVVVVVV


This involves parsing a <LINK> statement in a file "src"'d from
a frameset contained in index.html.


Using the Jakarta ANT api docs. on my hard drive the portion of index.html
we're interested in is:

	<TITLE>
	Ant API
	</TITLE>
	</HEAD>
	<FRAMESET cols="20%,80%">
	<FRAMESET rows="30%,70%">
	<FRAME src="overview-frame.html" name="packageListFrame">
	<FRAME src="allclasses-frame.html" name="packageFrame">
	</FRAMESET>
	<FRAME src="overview-summary.html" name="classFrame">
	</FRAMESET>



and the top of allclasses-frame.html looks like:

	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd";>
	<!--NewPage-->
	<HTML>
	<HEAD>
	<!-- Generated by javadoc on Fri Mar 02 23:40:07 GMT+11:00 2001 -->
	<TITLE>
	All Classes
	</TITLE>
	<LINK REL="stylesheet" TYPE='text/css' HREF="stylesheet.css" TITLE="Style">
	</HEAD>
	<BODY BGCOLOR="white">
	<FONT size="+1" CLASS="FrameHeadingFont">
	<B>All Classes</B></FONT>
	<BR>
	<TABLE BORDER="0" WIDTH="100%">


and my httpd.conf is original except for the following addition:

	Alias /ant "C:/ant/jakarta-ant-1.3/docs/api/index.html"
	<Directory "C:/ant/jakarta-ant-1.3/docs/api">
    		Include C:/ant/jakarta-ant-1.3/docs/api/*.html
    		AllowOverride None
    		Order allow,deny
    		Allow from all
	</Directory>



----------------------------------------------------------------------------------

I get the following error in allclasses-frame.html when I start Apache:

Syntax error on line 10 of C:/ant/jakarta-ant-1.3/docs/api/allclasses-frame.html:
Expected </LINK> but saw </HEAD>
Note the errors or messages above, and press the <ESC> key to exit.

----------------------------------------------------------------------------------

When I put "/>" onto the end of the <LINK ...> statement in allclasses-frame.html
I get the error:

Syntax error on line 11 of C:/ant/jakarta-ant-1.3/docs/api/allclasses-frame.html:
Expected </LINK> but saw </HEAD>
Note the errors or messages above, and press the <ESC> key to exit.

----------------------------------------------------------------------------------

When I remove the "/>" and put </LINK> into allclasses-frame.html I get the error:

Syntax error on line 11 of C:/ant/jakarta-ant-1.3/docs/api/allclasses-frame.html:
Expected </!--> but saw </HEAD>
Note the errors or messages above, and press the <ESC> key to exit.

----------------------------------------------------------------------------------



I decided to take all 4 files ( index.html, allclasses-frame.html, overview-frame.html and
overview-summary.html ) and move them to a TMP_APACHE subdirectory under C: and try
paring things down.

The whole contents of allclasses-frame.html in the TMP_APACHE area looks like:

	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd";>
	<HTML>
	<HEAD>
	<LINK REL="stylesheet" TYPE='text/css' HREF="stylesheet.css" TITLE="Style">
	</HEAD>
	<BODY>
	HI
	</BODY>
	</HTML>



And the only entry in the original httpd.conf was changed as follows:

	Alias /test "C:/TMP_APACHE/index.html"
	<Directory "C:/TMP_APACHE">
    		Include "C:/TMP_APACHE/*.html"
    		AllowOverride None
    		Order allow,deny
    		Allow from all
	</Directory>



----------------------------------------------------------------------------------

When I try to start Apache I get:

Syntax error on line 5 of C:/TMP_APACHE/allclasses-frame.html:
Expected </LINK> but saw </HEAD>
Note the errors or messages above, and press the <ESC> key to exit.

----------------------------------------------------------------------------------

When I put the </LINK> in, I get a completely unexpected error:

Syntax error on line 1 of C:/TMP_APACHE/allclasses-frame.html:
C:/TMP_APACHE/allclasses-frame.html:1: <!DOCTYPE> was not closed.   <<=== NOTE WELL !!
Note the errors or messages above, and press the <ESC> key to exit.

----------------------------------------------------------------------------------


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux