Page 1 of 1

Apache URL rewriting (directory fallthrough)

Posted: Mon Dec 01, 2003 9:50 am
by nielsene
Does anyone know about a good tutorial for using apache directives to do the following:

"Map" a virtual filesystem over the real one. I know I read a tutorial somewhere on this, I thought it was either ALA or phpBuilder, but I can't seem to locate it. Specifically, allow URLs of the form:
http://host.domain/site-section/sub-sec ... th/webpage
to be handled by a script named sub-section in the site-section directory, with the remainder of the URL availble for parsing within that script?

I beleive it wasn't a simple mod-rewriting trick, but some sort of configuration option for Apache to "backchain" through the directories before issuing the 404. I thought the article suggested that this was more efficient than the straight rewriting approach and is a little more elegant.

Posted: Mon Dec 01, 2003 10:28 am
by infolock