httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] Help, please, configuring httpd to allow downloads
Date Fri, 03 Dec 2004 19:14:15 GMT
> does your cgi-skript work as it should? 

My CGI is a compiled C program that does:

  int main()
    printf("Content-Type: application/octet-stream\n");
    printf("foo bar baz\n");
    exit (0);

When I run it from a command prompt, I see what I expect.

> what happens, if you 
> request the file directly, not by javascript?

You mean by typing the file name into the address bar of my browser?  I haven't tried that.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message