All:
I'm aware this isn't a mod_perl or apache mailing list - apologies all
around in advance.
I've done mod_perl development for a while and I've never met someone
who works the same way as each other - no biggie - it is perl, after
all. Out of curiousity, what is your prefered method of "installing"
mod_perl (specifically PerlHandler) modules? For example, the majority
of my sites use Location directives as follows:
<Location /login/>
PerlHandler SomePrefix::Site::Login
</Location>
<Location /register/>
PerlHandler SomePrefix::Site::Register
</Location>
Now, of course it would be less time consuming or error prone to have a
dispatch style handler ala SomePrefix::Site::Dispatch that simply uses
$r->path_info() or something similar to derive a module to load and use.
I've found that I need a bit more control (and sometimes predictability)
at the apache conf level, rendering such an approach improper.
All of this brings up an extremely stupid problem - the trailing slash
in the url. Due to the specification of the Location directives and the
(potential) use of path_info() for self contained sections (multipage
forms, sections that do use path_info() for dispatch style design,
etc.), I'm forced to specify my "modules" as www.site.com/login/
For my internal links and bookmarks, that's fine, but I do get people
who are midly savvy entering the url without the trailing slash upon
returning the site. I realize I could just use something like
mod_rewrite, but I'd rather not put another non-standard (read: not a
default during a ./configure) module into the list of "special" things
needed to run the site.
I know it's sort of a lame situation and not very exciting, but I'm
curious what other TT developers and users think and do.
For those interested, one of the sites in question is:
http://www.linuxstep.org and its child site
http://developer.linuxstep.org (which has much more content and
functionality).
Any thoughts are appreciated and my apologies for not only being off
topic, but also for nesting parens so damn much and being so terribly
long winded.
Cheers.
--
Eric Sammer
[EMAIL PROTECTED]
http://www.linuxstep.org
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.ourshack.com/mailman/listinfo/templates
- Re: [Templates] OT: mp handlers, apache locations, and ... Eric Sammer
- Re: [Templates] OT: mp handlers, apache locations,... darren chamberlain
- Re: [Templates] OT: mp handlers, apache locati... Eric Sammer
- [Templates] Lost key Andrew Beattie
- Re: [Templates] Lost key darren chamberlain
- Re: [Templates] Lost key Andy Wardley
- Re: [Templates] Lost key Andrew Beattie
- Re: [Templates] Lost key Dave Cash
- Re: [Templates] Lost key Andy Wardley
