Cover V09, I07
Article
Listing 1
Listing 2
Listing 3
Listing 4
Listing 5

jul2000.tar


Listing 1: Changes required for httpd.conf

# Script Repository
SetEnv CACHE_PATH /usr/local/apache/cache

#
# To enable embedded KSH scripting
#
AddType text/inline-ksh .ksh
Action text/inline-ksh /cgi-bin/filter.pl
SetEnv KSH_INTERPRETER /usr/bin/ksh
SetEnv KSH_HEREDOC_OPEN "cat <<EOF" 
SetEnv KSH_HEREDOC_CLOSE "EOF"

#
# To enable embedded Perl scripting
#
AddType text/inline-perl .prl
Action text/inline-perl /cgi-bin/filter.pl
SetEnv PRL_INTERPRETER /usr/bin/perl
SetEnv PRL_HEREDOC_OPEN "print <<EOF;"
SetEnv PRL_HEREDOC_CLOSE "EOF"

#
# To enable embedded TCL scripting
#
AddType text/inline-tcl .tcl
Action text/inline-tcl /cgi-bin/filter.pl
SetEnv TCL_INTERPRETER /usr/bin/tcl
SetEnv TCL_HEREDOC_OPEN "set EOF {"
SetEnv TCL_HEREDOC_CLOSE "} ; puts $EOF"