On Wed, Nov 4, 2009 at 11:42 AM, Yo'av Moshe <[email protected]> wrote:
> Well, I removed that slash and I still get 500 Internal Server Error. > > Now my regex is '^/dir/another/(.*)$'. > Is there any simpler way to to this redirection? > > What's the s/// syntax? > It's how you perform regex search-and-replace in perl, vim, a few irc bots I know of, and I'm sure much more. s/foo/bar/ would replace all instances of foo with bar. Backslashes have to be escaped when doing this, since they are used to delimit the terms. I'm not sure exactly how Cherokee handles regexp, though, so I can't say anything about its behavior in regard to those kind of special cases. What do you see in the logs? -- James Pearson -- The best way to predict the future is to invent it. - Alan Kay
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
