how to make cgi programs to work not to downloading it!
AddHandler cgi-script .cgi .pl
<Files ~ "\.pl$">
Options +ExecCGI
</Files>
Options +ExecCGI
</ Files>
<IfModule mod_perl.c>
<IfModule mod_alias.c>
Alias /perl/ /home/sly/host/perl/
</IfModule>
perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</IfModule>
<Files ~ "\.pl$">
Options +ExecCGI
</Files>
putt this in apache2.conf
then:
nano /etc/apache2/sites-enabled/000-default
and put there:
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
Options All
Comments
Post a Comment