Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
10-10-2008, 01:23 AM #1
- Join Date
- Sep 2004
- Thanked 0 Times in 0 Posts
mod_rewrite problem - replacing chars issue
I want to replace anything that is not an alphanumeric character, forward slash, period, underscore or hyphen with a hyphen.
RewriteRule ^(.*)[^/.a-zA-Z0-9_\-](.*)$ $1\-$2
However, when I add an [N] flag to the end of it in order to get more than one occurence, it crashes the server.
Any ideas why?