[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Google & Index.html
>
>[...]
>
> >
> > Now, is there a way to make Interchange add the index.html to the end of
>a
> > request for a directory listing?
> >
> >
> > http://interchange.redhat.com/cgi-bin/ic/dev/ would automatically
>return
> > http://interhcange.redhat.com/cgi-bin/ic/dev/index.html
>
>I posted a solution for this just this morning (search for AutoLoad).
>
>Ciao
> Racke
>
>--
Found it.... Looks like this needs to be set up as a deafult in catalog.cfg
now.
> > 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
>
>Thanks Racke!
Thanks,
Steve
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com