2. Run the program from the command line and see if it works.
3. One common error is forgetting to make the file executable.
4. If you have a log file on your IIS you might find more info there.
5. Since you are returning the Content type as text/html , the headers will be properly constructed and sent back to the client by the webserver, provided, your exec Cgi environment is setup correctly. This means you dont have to write <html> </html>like tags for this.
6. If you suspect a problem with your IIS server setup place an ordinary HTML file in the root directory and see if it is accessible from the browser.
7. Also the first line of your OP code shows the path as #!/usr/bin/perl. I think would not readily compute under the windows IIS environment ?
The temporal difficulty with perl is u need to know C well to know its awesome.else u just keep *using* it and writing inefficient code
yes it is my first program, :)
1. I have dont that, same error
2. i have already run it with cmd, its running fine
3. how to make a file executable? i just saved it with the name otf test.pl
4. i dont know much about log file, i will see it
5. i didt understood this point :)
6. ordinary html files work fine.
7. ??