RE: CGI content type

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

 



For information, I have been using a CGI script to return custom Kickstart
files for over a year now for both RH7.3 and RH8.0 using apache as my
webserver. I have never had any CGI problems.

In my case I found a shell script simpler to maintain than PERL. 
The first two lines of it are simply:

echo Content-type: text/plain
echo

followed then by:
   clientnode= $REMOTE_ADDR 
and then various 'cat's and 'sed's of template files

Yours,
Daniel.

--------------------------------------------------------------
Dr. Dan Kidger, Quadrics Ltd.      daniel.kidger@xxxxxxxxxxxx
One Bridewell St., Bristol, BS1 2AA, UK         0117 915 5505
----------------------- www.quadrics.com --------------------


-----Original Message-----
From: Travis Crawford [mailto:tbc3589@xxxxxxxxxxxxxxxxxxx]
Sent: 17 June 2003 16:35
To: kickstart-list@xxxxxxxxxx
Subject: Re: CGI content type


Michael Kearey wrote:
> I *think* this may be because of incorrect end of line character??
> Please note this is a hunch...So just check that the file is in fact a
> Uni* type, not a Dos type..
>
> Cheers,
> Michael

It turned out that Anaconda can't handle "chunked" replies from a web
server. Chunking is a feature of HTTP/1.1 so by forcing the web server to
operate in HTTP/1.0 mode with:

SetEnv nokeepalive
SetEnv downgrade-1.0
SetEnv force-response-1.0

-- 
Travis Crawford
tbc3589@xxxxxxx


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux