[FoRK] Re: Apache configuration question

Owen Byrne owen at permafrost.net
Mon Nov 1 10:09:34 PST 2004


On Mon, Nov 01, 2004 at 12:58:19PM -0500, Manoj Kasichainula wrote:
> On Sat, Oct 30, 2004 at 09:52:50PM -0300, Owen Byrne wrote:
> >I want http://sitename.com/category/page/item
> >to go to 
> >/index.php
> >with a pathinfo of /page/item so to speak. 
> >
> >I can get the extra stuff into the pathinfo - thats easy. But getting it 
> >to recognize that index.php is the directoryIndex for the root directory 
> >as well as get the extra pathinfo seems to be a problem. 
> 
> How about creating a $DOCROOT/category.php in your filesystem instead? I 
> think that would work in combination with Multiviews. Or explicitly map 
> $DOCROOT/category to be parsed by PHP.
> _______________________________________________
> FoRK mailing list
> http://xent.com/mailman/listinfo/fork
Not quite what I want - the categories are created dynamically from a db. It 
seems such a simple thing - and it is possible to 
have /index/category/item - or even /i/category/item - but it seems stupid to 
me that you can't get rid of the name of the page that process the path info. 
I have read just about every article there is on url-rewriting, etc. I think. 
The only semi-viable solution so far is custom 404 processing - and that has
other problems. 

Owen


More information about the FoRK mailing list