Help for this page
<!--#include virtual="../cgi-bin/stats/test.pl"-->
#!/usr/bin/perl ... print header; print "your page is $ENV{'HTTP_REFERER'}";
your page is http://www.domain.com/cat/11/index.shtml