[Techtalk] Web-hosting dilemma
Kathryn Andersen
kat_lists at katspace.com
Thu May 26 19:09:39 EST 2005
On Thu, May 26, 2005 at 02:00:44AM +0300, Yaroslav Fedevych wrote:
> 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.
No, I'm already using that. The problem is, without rewrite rules,
one has to have
http://mysite.com/script.cgi/somedir/somepage
and I consider the "script.cgi" bit in the middle to be ugly.
Besides that, I want it to be transparent as to whether any given
page is served by the script, or is static, because I don't want to
break existing links.
That is, originally, before using the script, the url would have been
http://mysite.com/somedir/somepage
and I want to hide that that's changed.
Kathryn Andersen
--
_--_|\ | Kathryn Andersen <http://www.katspace.com>
/ \ |
\_.--.*/ | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
v |
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe
More information about the Techtalk
mailing list