I'm trying to set up apache and I need some help.
My DirectoryRoot is /var/www/html and for the cgi it is /var/www/cgi-bin with a ScriptAlias /cgi-bin/

I want to run scripts from my local directory

/home/owen/cgi-bin

and access them through

/home/owen/public_html

The computer is not connected to the internet, I am just setting it up so I can learn php.

I can access the html scripts in /home/owen/public_html

"http://localhost/~owen/test.html"

test.html contains a form that needs processing by test.pl
that is in /home/owen/cgi-bin.

Is there a way to set up

"http://localhost/cgi-bin/owen/test.pl" ?

I greatly appreciate the help. Thank you!