[Xitami] Xitami, PHP and aliases

Francis Turner xitami@lists.xitami.org
Thu, 21 Mar 2002 10:21:33 +0100


Anne wrote:

>>[alias]
>>cats=E:\xitami\webpages2
>>dogs=E:\xitami\webpages3
>>
>>Aliases are sometimes helpful for simplifying URLs to static
>>pages.
>>
>>They do NOT work well for anything complicated. In this case,
>>Xitami knows that cats=webpages2, but PHP does not know that.
>>
>
>
>OK, thanks. PHP only works in "webpages" folder. I'll live with that.
>
Well it works in SUB-DIRECTORIES of the webpages folder too I believe. 
so you can have
\xitami\webpages\dogs\index.php and \xitami\webpages\cats\index.php 
which are retrived by
http://computer/dogs/index.php and http://computer/cats/index.php

 From your description of what you want that should be OK - no?

Francis

-- 
...if the US Government were ever to get really serious about Internet 
security, the top players in Microsoft's management hierarchy would find 
themselves handcuffed, blindfolded, led onto a tarmac within some obscure 
Air Force base, and shot.
-- Thomas C Greene (http://www.theregister.co.uk/content/55/23223.html)