On Saturday 30 November 2002 08:27 am, Kjetil Kjernsmo wrote: > Specifically, what I'm looking at is content aggregation and URL > matching (that ability to decouple the URL space from the filesystem > was pretty neat). I guess the latter could be done by mod_rewrite, but > it would be nice to have some easier way, is there?
Sure, just make the handler appear earlier in the path, as in if you had a URL http://someserver.fizz/this/is/some/long/path?withaquery=string Lets suppose that 'some' is a file and there is an htaccess file (or whatever) mapping it to AxKit, then the /long/path part of the path becomes "extra path info" and in effect you now have control of the 'mapping' of that part of the URL space... Of course you could write a handler of whatever sort you feel like that redirects processing in pretty much whatever way you want. Personally though I find mod_rewrite to be the easy way to deal with those situations, and to be honest its rarely that convenient to use extra path info (why not just relegate all parameters to the query string, since thats effectively what you have at this point anyhow.). AxKit also has 'stylechoosers' which can help you out here, so there are a lot of ways to skin this cat -- Tod G. Harter Giant Electronic Brain --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
