Current URL: index.php?cmd=imageview&var1=Quotes/Your+time+is+limited.jpg Rewritten as: RewriteRule ^([^-]*)-([^-]*)\.html$ /index.php?cmd=$1&var1=$2 [L] It works fine as long as there is no "/" in the var1 but some links need it to be there. How can I rewrite it in this case? You can see at http://fpb.me/imageview-Cartoons/Tom+and+Jerry.jpg.html. The script works just fine but the sharing is not (facebook share for instance). Thanks!
You may want to join #httpd on irc.freenode.net to get some help with this, if you still need it.....