Dear my friends...
I use opensuse10.2.
I am developing a website using perl for it cgi. This is the firsttime for me to use perl for website application.
I've installed perl::CGI and create a very simple script as the very first step:
"
#!/usr/bin/perl
print "Content-type: text/html";
print "<html>";
print "<head>";
print "<title>";
print "Try if the webserver understand my perl CGI";
print "</title>";
print "</head>";
print "<body>";
print "tes dulu";
print "</body>";
print "</html>";
".
But my apache2 does not understand my perlscript.
I put the script (index.cgi) under /srv/www/htdocs/klien/boel/cgi-bin so the url of my first perl cgi script (index.cgi) is: http://127.0.0.1/klien/beol/cgi-bin/index.cgi .
I tried to find the solution by looking up on my perl book. I found about ScriptAlias. So I add this lines into the "httpd.conf":
ScriptAlias /cgi-bin/ /srv/www/htdocs/klien/beol/cgi-bin