I am running apache2 with Ubuntu so that I can practice writing CGI/SQL
scripts with perl.
In ports.conf I have:
NameVirtualHost *:80
Listen 127.0.0.1:80
the intention being to limit access only to my laptop (keep the outside
world out).
I read several times don't run apache as root.
ps
I had no luck with ScriptAlias.
I set a UserDir public_html
I used ExecCGI and AddHandler similar to you -
That was the only way I found to run CGI scripts in Firefox.
The Apache documentation does not help so much with Ubuntu.
This page helped: