Intro to Apache - ApacheCon
Or, in C
  • Example CGI program in C

    
      
      #include <stdio.h>
    
      
    
      int main() {
        printf("Content-type: text/html\n\n");
        printf("Hello, world!\n");
        return 0;
      }
    
      

  • Then you have to compile it

Index
Back to Or, in shell
Forward to Useless examples

ApacheCon : Intro to Apache - Slide #85 of 139