I have gone through the apache2 docs and can't figure out what I am missing here. Hopefully someone can help. When I go to load the cgi script it prints out the source code instead of executing it.
the apache page I checked was here:
I'm installing big brother on an existing apache server as a virtualhost. OS is sles10sp2. Apache is 2.0.63. The cgi-bin directory does not seem to work for my virtual host. Below is my existing configuration. I am sure some of it is redundant in the <Directory> directive since I already configured with the "ScriptAlias" line but I was basically at throw-spaghetti-on-the-wal
l mode at this point
ScriptAlias /cgi-bin/ "/home/bb/bb1.9i-btf/www/c
CustomLog logs/bb_access_log combined
Allow from all
My cgi script is in the above bb cgi-bin dir
/cgi-bin# cat test.pl
print "HEllo World"
I've already run it successfully from the command line and I also ran it on another server that has cgi working sucessfully (no virtual hosts though)
On this server when I load up
it loads up the source/content of the test.pl instead of executing.
Anyway, what should I look for? What am I missing?