in reply to mod_rewrite woes

If you really want to do it with mod_rewrite, then read the doc about doing logical ORs in regular expressions (e.g. (foo|bar|baz|...)).

Personally though, I would just treat the /foo and /bar as path info that a Perl script can then read and translate to the correct function. The extra path information is available through CGI.pm or CGI::Simple via the path_info method.

Replies are listed 'Best First'.
Re: Re: mod_rewrite woes
by geektron (Curate) on Jan 29, 2004 at 22:15 UTC
    i'm stuck w/ mod_rewrite. it's 'company protocol'.

    i'll hack on the RewriteCond.