"The web server is configured to hand off all requests within the
Maypole application's
uri_base to Maypole. His tip just gets Maypole to immediately hand
certain requests back to the server."
This brings to mind another (code-free) way of achieving the same
thing. Tell Apache to handle the static sub-dir without the
perl-script handler. I.e. add the following to httpd.conf:
<Location /memories/static>
SetHandler default-handler
</Location>
Then Apache would simply pass the content over for any request in the
static directory.
I think that works...
On 9/9/05, David Baird <[EMAIL PROTECTED]> wrote:
> On 9/9/05, Peter Speltz <[EMAIL PROTECTED]> wrote:
> > On 9/8/05, Dave Howorth <[EMAIL PROTECTED]> wrote:
> > > Peter Speltz wrote:
> > > > What I still do not understand is why he used "CSS" as and example of
> > > > a static page..
> > >
> > > He's thinking of things like the maypole.css file that comes with the
> > > example templates, I believe.
> > >
> >
> > Ahhh.
> > I just tried /localhost/beerdb/maypole.css and the browser displayed
> > it. So he is talking about how to deal with files in you template
> > directory that are *NOT* to be viewed as a web page. I thought he was
> > talking about how to make a "static" page display quicker by cutting
> > skipping Maypole al together.
> >
> > Did anyone else think that?
>
> No, I think he is talking about the latter. The web server is
> configured to hand off all requests within the Maypole application's
> uri_base to Maypole. His tip just gets Maypole to immediately hand
> certain requests back to the server. So you could have a directory
> full of static web pages (i.e. web pages that are not templates, they
> are just HTML), and this would prevent Maypole from trying to look up
> a model class and action every time you serve them.
>
> d.
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Maypole-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/maypole-users
>
--
Check out my AdWords and Overture blog:
http://gotads.blogspot.com
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users