I'm having troubles with the flag Next [N] in mod_rewrite
I wanna replace ALL slashes (/) in the url by an underscore. I've tried many regexps that work well for any other language, but to mod_rewrite doesn't. Like:
/ _ [N]
or
(.*)/(.*) $1_$2 [N]
But the mod_rewrite seems enter in an endless loop.
I want a routine that works for X number of slashes, not limited to 3 or 4 slashes, for example.
Thanks.