CGI Perl

Dieter Schicker dieter.schicker at uni-graz.at
Sun Sep 24 13:59:58 UTC 2006


> 
> I've added this to the apache2.conf:
>       <Directory /home/www/html>
>               AllowOverride FileInfo AuthConfig Limit Options
>               Options Indexes SymLinksIfOwnerMatch IncludesNoExec
>       </Directory>

Did you load the cgi module?
server:~# a2enmod cgi

What about specifying a cgi directory of its own, like:

<ScriptAlias /cgi-bin/ /home/www/cgi-bin/
<Directory /home/www/cgi-bin/>
   AllowOverride none
   Options ExecCGI
</Directory>

Then you can access the script via your webbrowser with:

http://whatever.hostname/cgi-bin/yourscript.pl

Dieter





More information about the ubuntu-users mailing list