John Bokma wrote:
> Chris Hope wrote:
>
>> And there are many ways to map stuff to other "real" directory
>> locations such as the use of aliases in Apache and symbolic links.
>
> See http://johnbokma.com/mexit/2005/01/0...onf-split.html
> :-)
>
>> And then there are uri rewriting tools where you can map a
>> hierarchical structure to whatever you want, such as mod_rewrite as
>> used in my recipes.electrictoolbox.com site where the entire site is
>> run through one script accessing a database; yet it *looks* like a
>> regular static directory and filesystem type website.
>
> Yup, another one:
>
> /foo/bar.cgi/widgets/bar
>
> /widgets/bar *could be* passed as PATH_INFO to bar.cgi.
Yeah I currently do that with my electrictoolbox.com site where
the /article/ part of the uri is in fact a PHP script called article
and the rest of the stuff becomes a PATH_INFO variable in PHP.
--
Chris Hope |
www.electrictoolbox.com |
www.linuxcdmall.com