> > There's just one more problem that seems to be lurking on my website. I
> > think this might have something to do with mod_perl's caching scheme.
>
> The first thing you need to understand is that mod_perl has no caching
> scheme.  It is just perl and apache.
- My bad, I must have misread something somewhere that claimed part of the
speed boost was due to caching material.


> You do need to tell us which version of mod_perl you are running, and if
> you are using Apache::Registry, or PerlRun, or something else.
>
- I'm using mod_perl 2.0 with ActivePerl 5.8.3 & Apache 2.0.48 on Windows
XP.
My settings for apache are as follows (in the apache httpd.conf):
1) I call PerlModule Apache2, instead of using a startup file
2) I specify the use and options of mod-perl through the following:
Alias /perl "C:/WebServer/perl/"
<Location /perl>
   SetHandler perl-script
   PerlResponseHandler ModPerl::RegistryPrefork
   Options +ExecCGI
   PerlOptions +ParseHeaders
</Location>
The RegistryPrefork is an additionally created script that you mentioned
earlier @
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends
which in turn uses ModPerl::Registry


> > The problem is, the last page loaded by either of those scripts is the
page
> > that will always show up the next time they return.
>
> Sounds like client-side caching.  Take a look at the headers you are
> sending.
- I'm not sure about this. How would the headers differ from using
ActivePerl vs mod_perl? In my main script which does all the link
controlling, the only header I specify is the standard
Content-type:text/html\n\n. The only exception is when I want the client to
create a cookie, whereby I use some external library to handle it.


> > Secondly, the links at the top
> > to move the user backwards in the photo albums are ignored.
>
> What do those links do?  What happens when you click on them?
- They're suppose to help the user go back into previous folders instead of
using the browser back button.

If it's any help, you can log onto this part of my site and see how the
links only move forward, yet not backwards:
http://www.nutty.ca/perl/index.cgi?page=photoAlbum
You'll see the URL header does get updated, but the page you currently see
will not.

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to