On Wed, Mar 5, 2008 at 5:54 PM, Robert Hicks <[EMAIL PROTECTED]> 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/ ? > > Pointers would help...you don't have to give me the whole answer. I like > to learn. :-)
I usually use modrewrite on an .htaccess with something like: RewriteRule ^(.*)/$ /my.cgi?rm=$1 Yes, you can refine a lot the regex, but that's simply out of scope of this reply ;) -- David Moreno - http://www.damog.net/ Yes, you can. ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################