Forum Moderators: phranque

Message Too Old, No Replies

Need some help with Apache server

         

outofidea

2:15 am on Mar 7, 2004 (gmt 0)

10+ Year Member



I have setup a website. It is running on Redhat Linux 9 and Apache web server 2.048. The problem that I am having is, page does not display when I add quite a bit of html code such as checkboxes, radio buttens, text boxes. If I have just plain html it works fine. I've trying to make it to work for last three weeks. No success. Could anybody help me with this. Thanks.

Below is my html code. This is just a test page. Because of few lines of checkboxes page didn't display completely. It displyed upto checkboxes.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Apache Web Server on Red Hat Linux (Signupname.com)</title>
</head>
<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
<body BGCOLOR="#FFFFFF">

<h1 ALIGN="CENTER">Apache Web Server on Red Hat Linux (Signupname.com)</h1>

This page is used to test the proper operation of the Apache Web server after
it has been installed. If you can read this page, it means that the Apache
Web server installed at this site is working properly.

<hr WIDTH="50%">

<h2 ALIGN="CENTER">If you are the administrator of this website:</h2>
<p>
You may now add content to this directory, and replace this page. Note that
until you do so, people visiting your website will see this page, and not your
content.
</p>

<p>If you have upgraded from Red Hat Linux 6.2 and earlier, then you are
seeing this page because the default <a
href="manual/mod/core.html#documentroot"><strong>DocumentRoot</strong></a>

set in <tt>/etc/httpd/conf/httpd.conf</tt> has changed. Any subdirectories
which existed under <tt>/home/httpd</tt> should now be moved to
<tt>/var/www</tt>. Alternatively, the contents of <tt>/var/www</tt> can be
moved to <tt>/home/httpd</tt>, and the configuration file can be updated
accordingly.
</p>

<hr WIDTH="50%">
<h2 ALIGN="CENTER">If you are a member of the general public:</h2>

<p>
The fact that you are seeing this page indicates that the website you just
visited is either experiencing problems, or is undergoing routine maintenance.
</p>

<p>
If you would like to let the administrators of this website know that you've
seen this page instead of the page you expected, you should send them e-mail.
In general, mail sent to the name "webmaster" and directed to the website's
domain should reach the appropriate person.
</p>

<p>
For example, if you experienced problems while visiting www.example.com,
you should send e-mail to "webmaster@example.com".
</p>

<hr WIDTH="50%">

<p>
The Apache <a HREF="manual/index.html" >documentation</a> has been included
with this distribution.
</p>

<p>
For documentation and information on Red Hat Linux, please visit the
<a href="http://www.redhat.com/">Red Hat, Inc.</a> website. The manual for
Red Hat Linux is available <a href="http://www.redhat.com/manual">here</a>.
</p>

<p>
You are free to use the image below on an Apache-powered Web
server. Thanks for using Apache!
</p>

<p ALIGN="CENTER">
<a HREF="http://www.apache.org/"><img SRC="/icons/apache_pb.gif" ALT="[ Powered
by Apache ]"></a>
</p>

<p>
You are free to use the image below on a Red Hat Linux-powered Web
server. Thanks for using Red Hat Linux!
</p>

<form METHOD="POST" ACTION="build.html">
<table>
<tr>
<td WIDTH="25%" ALIGN="LEFT"><font SIZE="1" FACE="Times New Roman" COLOR="#000000">&nbsp;</font></td>
<td WIDTH="25%" ALIGN="LEFT" ><input TYPE="checkbox" NAME="COM" VALUE="COM"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.com</font></td>

<td WIDTH="25%" ALIGN="LEFT"><input TYPE="checkbox" NAME="NET" VALUE="NET"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.net</font></td>
<td WIDTH="25%" ALIGN="LEFT"><input TYPE="checkbox" NAME="ORG" VALUE="ORG"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.org</font></td>
</tr>
<tr>
<td WIDTH="25%" ><font SIZE="1" FACE="Times New Roman" COLOR="#000000">&nbsp;</font></td>
<td WIDTH="25%" ALIGN="LEFT"><input TYPE="checkbox" NAME="US" VALUE="US"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.us </font></td>
<td WIDTH="25%" ALIGN="LEFT"><input TYPE="checkbox" NAME="BIZ" VALUE="BIZ"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.biz<font></td>

<td WIDTH="25%" ALIGN="LEFT"><input TYPE="checkbox" NAME="INFO" VALUE="INFO"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.info</font></td>
</tr>
<tr>
<td WIDTH="25%" ><font SIZE="1" FACE="Times New Roman" COLOR="#000000">&nbsp;</font></td>
<td WIDTH="25%" ALIGN="LEFT"><input TYPE="checkbox" NAME="TV" VALUE="TV"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.tv </font></td>
<td WIDTH="25%" ALIGN="LEFT"><input TYPE="checkbox" NAME="WS" VALUE="WS"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.ws</font></td>
<td WIDTH="25%" ALIGN="LEFT"><input TYPE="checkbox" NAME="CC" VALUE="CC"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;.cc</font></td>

</tr>
<tr BGCOLOR="#3872C7">
<td colspan="4"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">&nbsp;</font></td>
</tr>
<tr BGCOLOR="#3872C7">
<td WIDTH="25%" ><font SIZE="1" FACE="Times New Roman" COLOR="#000000">&nbsp;</font></td>
<td colspan="3">&nbsp;
<a href="/regext.html"><font SIZE="3" FACE="Times New Roman" COLOR="#FFFFFF">See other extensions</font></a>

</td>
</tr>
</table>
</form>

<p ALIGN="center">
<a HREF="http://www.redhat.com/"><img SRC="/icons/powered_by.gif" ALT="[ Powered
by Red Hat Linux ]"></a>
</p>
</body>
</html>

lemat

9:58 am on Mar 7, 2004 (gmt 0)

10+ Year Member



do:
telnet your_host 80
GET /index.html HTTP/1.0 [2xEnter here]

and see what happens. Does the server return entire page or just a part of it?

PS. you're displaying white text on white page? sure it won't be visible...