CGI-BIN

  • Thread starter Thread starter Guest
  • Start date Start date
Create and test a cgi-bin:

1. Open the Control Panel for IIS.
2. If there is not already a directory named "cgi-bin" under your web server's root directory, create one.
3. Make sure that the directory alias is: cgi-bin.
4. Make sure that "Execute (including scripts)" is enabled for "cgi-bin". Stop and restart the web server.
5. Copy the following into a file named "test.pl" and place it into the cgi-bin:
print "Content-type: text/html\n\nHello World!";
6. Now point your web browser to http://localhost/cgi-bin/test.pl. You should see "Hello World!" appear
on your screen. If it doesn't, restart your computer and try again.

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User

Be Smart! Protect your PC!
http://www.microsoft.com/security/protect/

-------------------------------------------------------------------------------

"edward" (e-mail address removed) wrote in message:

| hello
|
| does anyone know how to create a CGI-BIN, im using XP and IIS
|
| thanks
 
This is just a physical IIS folder (c:\inetpub\wwwroot\cgi-bin) or a virtual
IIS folder with execute permissions on it.
 
Back
Top