Dave Korn wrote:
> On 01 April 2006 18:03, cshepard wrote:
>
>> I compile the following code thusly: gcc -o hw.cgi hw.c
>>
>> #include
>> int main(void) {
>> printf("Content-type: text/html\n\n");
>> printf("HW");
>> exit(0);
>> }
>
> Gets you two genuine \ns.
>
>> #!c:/Python
On 01 April 2006 18:03, cshepard wrote:
> I compile the following code thusly: gcc -o hw.cgi hw.c
>
> #include
> int main(void) {
> printf("Content-type: text/html\n\n");
> printf("HW");
> exit(0);
> }
Gets you two genuine \ns.
> #!c:/Python24/python.exe
The 'doze nativ
I compile the following code thusly: gcc -o hw.cgi hw.c
#include
int main(void) {
printf("Content-type: text/html\n\n");
printf("HW");
exit(0);
}
Resulting permissions are 777. The hw.cgi runs fine from both bash and DOSe
shells, but Apache/2.0.55 (Win32) produces a 5
3 matches
Mail list logo