Search results

  1. C

    not able to run cgi scripts.

    thanks.
  2. C

    not able to run cgi scripts.

    Yup it's weird. As far as I know, the only format is this. '-c' option will just compile without linking. But that wouldn't help anyway. As you said, I also find no need to use 'c' for that when it can be done much simpler with php. I found in a tutorial that 'c' can also be used for cgi. I was...
  3. C

    not able to run cgi scripts.

    No. I compiled the c code to create the binary print.cgi. I used gcc compiler. Source file : survey.c Command used : gcc survey.c -o print.cgi Then, I uploaded the print.cgi to cgi-bin and changed permissions to 0755. I am using Windows XP (x86). output produced when print.cgi was...
  4. C

    not able to run cgi scripts.

    Thank you! But I don't understand why the binary file print.cgi is showing up problems. Its a c program. The source code is #include<stdio.h> int main(){ printf("Content-type: text/html\n\n"); printf("<html><head></head><body>why is this</body></html>"); } I have changed the...
  5. C

    not able to run cgi scripts.

    I have set the permissions as 755 only. But I am getting that error.:dunno: Edit: I also ran tested it with the apache server 1.3 installed in my machine. It works. I have uploaded the file in www/cgi-bin. Am I uploading it in the wrong place?
  6. C

    not able to run cgi scripts.

    i put few scripts in cgi-bin directory. Whenever I run them, I get the following: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@arun.x10hosting.com and inform them...
  7. C

    hi guys

    This is Arun Kumar C. It's nice to be here:) I already got my account suspended for high resource usage :cool:. Actually I was just browsing through my account :(.
Top