Previous Thread
Next Thread
Print Thread
Hop To
Help w/perl #544023 11/12/10 05:25 AM
Joined: Jan 2010
Posts: 364
PapaBill Offline OP
Where's the cache?
OP Offline
Where's the cache?
Joined: Jan 2010
Posts: 364
I have an .shtml page on my PC that includes this statement:
Code:
<!--#exec cgi="/cgi-bin/counter.pl"-->
that increments a hit counter. I want to put the same basic .shtml page on my Mac, but this does not work. I've tried the
Code:
<!--#include virtual="counter.pl"-->
in place, but it still does not work. Counter.pl and counter.dat (the actual number) are both in the /library/webserver/cgi-executables directory.

Ideas?


I can do all things through Christ which strengtheneth me. Philippians 4:13
Re: Help w/perl [Re: PapaBill] #544074 11/12/10 06:29 PM
Joined: Apr 2002
Posts: 15,090
Reboot Online Content
Muhahahaha
Online Content
Muhahahaha
Joined: Apr 2002
Posts: 15,090
Without being in front of it this is kind of over my head, but my guess is that
Code:
<!--#include virtual="counter.pl"-->
isn't the kind of executable Apache in OS X can use.

http://carambola.usc.edu/how2makeahitcounter.shtml

The first mcount.zip link on that page is a 404, the next works thought.


Moderated by  Acumowchek, MacGizmo, Reboot