in reply to Re: perl - html
in thread perl - html

Hi Thank you
"Content-type: text/html <html><head><title>Hello World</title></head> <body> <h2>Hello, world!</h2> </body></html>
This was my output which i have got in command line. its not comming in the webpage.

Replies are listed 'Best First'.
Re^3: perl - html
by cwry (Monk) on Jul 11, 2006 at 06:12 UTC

    Hi,

    The output of your script is fine. The problem is that your web server is not executing the script properly when you access the page. Can you provide more information such as looking at the webserver logs? Have you successfully run other CGI scripts? Is the script set to executable as McDarren suggested? Are you getting any errors?