I'm guessing I'm missing something obvious but here goes.
I installed apache on SLES10SP2 via the RPMs with SLES10SP2. By default it looks like document root is /srv/www/htdocs and CGI-BIN is /srv/www/cgi-bin
contents of /srv/www/cgi-bin are
testserv:/srv/www/cgi-bin # ls -1
test.cgi and test.pl are scripts I put in myself. The rest were installed with the RPM. Loading the other CGI scripts in browser works but loading in test.cgi and test.pl do not
My browser gets a pop up window saying:
"You have chosen to open test.pl which is a Perl script" and then "What should firefox do with this file?"
The only thing I could think of was that it didn't recognize .cgi or .pl.
If I grep in mime.types I get:
testserv:/etc/apache2 # grep -i perl mime.types
application/x-perl pl pm al perl
testserv:/etc/apache2 # grep -i cgi mime.types
I also added
AddHandler cgi-script .pl .cgi
in the default-server.conf file right under the DocumentRoot statement. Still no go (the apache configuration is spread amongst many different *.conf files it seems when installing from RPM).
Anyhow, any ideas or thoughts?