Someone can help me to run a counter script
with perl SSI?
Those are steps I accomplish.
Build mod_perl with EVERYTHING=1
Uncomment the lines:
AddType text/html .shtml
AddHandler server-parsed .shtml
in httpd.conf
Add the following lines:
Alias /perl/ /usr/local/apache/perl/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options +ExecCGI
</Location>
in httpd.conf
Run chmod 755 the cgi script:
/perl/counter.pl
The script have the line:
#!/usr/bin/perl
pointing correctly
Put index.shtml in DocumentRoot
with the line:
<!--#perl sub="Apache::Include" arg="/perl/counter.pl"-->
inside html text
Beside that there were best ways to put counters to work,
my intent was try in several ways, without succeed using
Perl Server Side Includes.
Thanks in advance
Fernando Rowies
Monte Grande
Buenos Aires
Argentina
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
with perl SSI?
Those are steps I accomplish.
Build mod_perl with EVERYTHING=1
Uncomment the lines:
AddType text/html .shtml
AddHandler server-parsed .shtml
in httpd.conf
Add the following lines:
Alias /perl/ /usr/local/apache/perl/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options +ExecCGI
</Location>
in httpd.conf
Run chmod 755 the cgi script:
/perl/counter.pl
The script have the line:
#!/usr/bin/perl
pointing correctly
Put index.shtml in DocumentRoot
with the line:
<!--#perl sub="Apache::Include" arg="/perl/counter.pl"-->
inside html text
Beside that there were best ways to put counters to work,
my intent was try in several ways, without succeed using
Perl Server Side Includes.
Thanks in advance
Fernando Rowies
Monte Grande
Buenos Aires
Argentina
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1