[ic] Default file in pages subdir

Rene Hertell interchange-users@icdevgroup.org
Thu Aug 1 13:36:00 2002


> > Autoload <<EOS
> > sub {
> >     $url = $Session->{last_url};
> >     $url =~ s%^/cgi-bin/cart.cgi/%%;
> >
> >     if (-d "/cat/whatever/$url") {
> >         $CGI->{mv_nextpage} = "$url/index.html";
> >     }
> > }
> > EOS

[snip]

> Could you share your final subroutine once you test it out?

Hi Steve,

I could not get that AutoLoad snippet to work... I have been trying to
figure what's wrong with it, but without any success...

If you get it to work before me, then I would be thankful if you could share
your subroutine :)

Rene