[cgiapp] URL rewriting...
Michael Peters
mpeters at plusthree.com
Wed Mar 5 16:55:14 EST 2008
Robert Hicks wrote:
> I haven't a clue on this one. I do the standard CA thing with page names:
>
> ?rm=home
> ?rm=contact
>
> How do I do a URL re-write that makes the first one /home/ and the
> second one /contact/ ?
CGI::Application::Dispatch. Not only will it let do URLs like that, but it will
also help you combine multiple app modules into a single app.
If your application module is named MyApp::Stuff then you can do urls like
/stuff/home
/stuff/contact
Very easily.
--
Michael Peters
Plus Three, LP
More information about the cgiapp
mailing list