[Techtalk] Web-hosting dilemma
Yaroslav Fedevych
jaroslaw at linux.org.ua
Thu May 26 09:00:44 EST 2005
On Thu, May 26, 2005 at 07:58:39AM +1000, Kathryn Andersen wrote:
>
> Advice?
>
> Kathryn Andersen
Well, to avoid such a horrible situation, and to still have non-ugly
urls, I have my script named, say, index, and use PATH_INFO to grok
the parameters. If you go to http://mysite/index/somepage/action,
PATH_INFO will be /somepage/action.
Very nice solution. And it does not rely on any rewrite rules and
does not break if hosters are ignorant.
--
X Windows: The greatest productivity aid since typhoid.
More information about the Techtalk
mailing list