Note the following perl script #!/usr/bin/env perl -wT print "Content-type: text/html\n\n"; # foreach $key (sort keys(%ENV)) { print "$key = $ENV{$key}<p>"; } As you can see the hash bang is #!/usr/bin/env perl this is supposed to be more portable because it...
apache
Create a CGI directory which allows Directory Listing
I wanted to create a cgi-bin directory which would allow me to execute the files and also to view a directory index of them. This is the default setup for the system cgi-bin directory but it wouldn't allow me to do what I wanted. ScriptAlias /cgi-bin/...