I've reviewed numerous guides to find out why my CGI isn't working and cant' seem to find it. My site config looks like this:
<VirtualHost *:80> ServerName dev.domain.com # Directory Root. DocumentRoot /sites/dev.domain.com/www/ # CGI Directory ScriptAlias /cgi-bin/ /sites/dev.domain.com/cgi-bin/ <Location /cgi-bin> Options +ExecCGI </Location> <Directory /sites/dev.domain.com/www/bugzilla> Options ExecCGI AddHandler cgi-script cgi pl </Directory> # Logfiles ErrorLog /sites/dev.domain.com/logs/error.log CustomLog /sites/dev.domain.com/logs/access.log combined </VirtualHost>
I'm trying to get CGI on /bugzilla. I'm not sure if it runs on cgi-bin or not. I also installed perl using
sudo aptitude install libapache2-mod-perl2
The CGI bin is not within my www directory, is there a way that I can test it via command line?