[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Perl & Browser config



You cannot do that simply like this.

Whenever you run a cgi OR any script like this which directly gives u the
output to a web browser, the script MUST generate the format of the web
page. Which starts off with something like

Content-Type: text/html
<blank line>             ---- these two are actual blank lines
<blank line>
<html>
<body>
This is a sample output
</body>
</html>

I mean that your script MUST print this string with two new line characters
BEFORE it gives any output OR your server would give premature script or
something like this.

For a sample try finding some script from the linuxconf package. Its not
necessary that you search for a perl script, search for ANY script that
gives you an output to the web browser, open that script and try to follow
the login which the script uses to generate the page.

I hope u get the point.

VaibhaV Sharma
Indian Linux Users Group Indore Chapter

----- Original Message -----
From: Pinku Hussain <pinkuh@xxxxxxxxx>
To: <linux-india@xxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, December 31, 1999 12:26 PM
Subject: Re: [LI] Perl & Browser config


>
>
> --- "T.R. Seshan" <trseshan@xxxxxxxxxxxx> wrote:
> >
> > pinku,
> >
> > First check wether ur Apache Server is configured
> > properly.
> >
> > When u type http://<ur host ip number> say
> > 192.168.1.12 as URL, the
> > browser will display the apache successfully
> > configured page. If that goes
> > fine then ur apache server is running hale and
> > hearty.
> PINKU: My apache server is fine.


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.