Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 08-31-2011, 07:03 PM
johnd126 johnd126 is offline
Hatchling Croc
 
Join Date: Aug 2011
Posts: 1
Default win32 console cgi's

Hi

I'm interested in the Windows Hosting package but would like to run my own win32 console app cgi scripts. Do they work on the Windows servers and are they permitted?

A very simple example would be:

Code:
#include <stdio.h>
int main(int argc, char *argv[])
{
   printf("Content-type: text/html\n\n");
   printf("<html><head><title>test</title></head>\n");
   printf("<body><h1>hello world</h1></body>\n");
   printf("</html>\n");
   return 0;
}
compiled as a win32 console exe and renamed .cgi. These type of cgi's work wonderfully on Apache for Windows, just want to confirm they'll also work under IIS.

Thanks!
John
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP5 console/SSH access; .htaccess AllowOverride fungiblename Suggestions 5 12-10-2008 09:20 PM
Any console gamers here? GatorWesley Off-Topic 19 08-16-2007 12:51 AM

All times are GMT -5. The time now is 11:28 AM.