Install apache httpd:
sudo apt-get install apache2
Add the following "hello.pl" script to the /usr/lib/cgi-bin directory:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello World!";
exit;
Point your browser at http://localhost/cgi-bin/hello.pl and that's it!
No comments:
Post a Comment