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

Re: project: vitual partial mirror with CGI/dpkg-repack



On Sun, Dec 08, 2002 at 09:26:55PM +0100, Wouter Verhelst wrote:
> On Sun, Dec 08, 2002 at 05:30:13PM +0100, Bill Allombert wrote:
> > I will not do it myself since I know nothing about CGI programming,
> 
> CGI programming is easy to learn ;-)
> 
> CGI scripts or programs get whatever the client sends on his URL,
> starting after the '?' as a parameter,

Not as a parameter - in the QUERY_STRING environment variable.

  http://hoohoo.ncsa.uiuc.edu/cgi/interface.html

> and send the HTML and, if necessary, extra HTTP headers to their
> stdout.

They do need to output at least some HTTP headers, often just
"Content-Type: foo/bar\n\n".

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: