Summary | Global "pretty urls" config setting |
Queue | Horde Base |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 2. Medium |
Owners | chuck (at) horde (dot) org |
Requester | chuck (at) horde (dot) org |
Created | 2008-02-15 (4727 days ago) |
Due | |
Updated | 2008-02-26 (4716 days ago) |
Assigned | 2008-02-24 (4718 days ago) |
Resolved | 2008-02-26 (4716 days ago) |
Milestone | Horde 3.2 |
Patch | No |
State ⇒ Resolved
and ForceType are still going to be tricky perhaps.
Horde 3.2 for generalizing PATH_INFO and ForceType style URLs.
Chora, for example, currently handles it...
the 'old' way.
3.2 can still code for it the 'old' way.
State ⇒ Feedback
lighttpd's url.rewrite module, but the rewrite rules themselves are
written differently. We can maybe include snippet of the rewrite
rules somewhere in the docs but it's not as easy to have them be
dropped in like they are with apache's .htaccess files.
'lighttpd' configuration choice, that is basically an alias of
mod_rewrite, or just a note somewhere to use mod_rewrite if you are
using (and have configured) lighttpd rewrite rules...
'rewrite', meaning mod_rewrite or lighttpd rules or whatever, and
'base_url' (better names?) meaning PATH_INFO or ForceType or
Horde_Routes - anything with a single script as the base. With this
last one, we'd include an additional option to actually set the
base_url to use. We could make this portable across apps by having a
single routing file in Horde that dispatched to apps that use pretty
URLs. Would be a bit of a hack on top of the existing stuff, but
easier to deal with than the current mish-mash of rewrite rules.
what sort of rules do you have for lighttpd?
lighttpd's url.rewrite module, but the rewrite rules themselves are
written differently. We can maybe include snippet of the rewrite
rules somewhere in the docs but it's not as easy to have them be
dropped in like they are with apache's .htaccess files.
Forcetype style urls aren't really supported per se in lighttpd but
they can be simulated with rewrite rules.
I haven't really tried it in depth, but using PATH_INFO would probably
work OK with lighttpd.
I'm thinking the easiest thing to do would be to either have a
'lighttpd' configuration choice, that is basically an alias of
mod_rewrite, or just a note somewhere to use mod_rewrite if you are
using (and have configured) lighttpd rewrite rules...
State ⇒ Resolved
what sort of rules do you have for lighttpd? We should add those
somewhere too.
Milestone ⇒ Horde 3.2
Type ⇒ Enhancement
State ⇒ Feedback
Priority ⇒ 2. Medium
Summary ⇒ Global "pretty urls" config setting
Queue ⇒ Horde Base
like $conf['urls'] with options for regular query_string, mod_rewrite,
path_info, and forcetype style URLs. That way apps like Ansel and
Whups (Horde 3.2+ apps) don't need their own settings, and would have
a way of knowing if they should generate pretty URLs or GET URLs.
If there are no objections I'd like to get this into Horde 3.2.