I have the following line in my .htaccess file, but it keeps redirecting me to a 404 error.
RewriteRule ^path1/([a-zA-Z0-9_-]+)/(.+)(/?)$ /file.php?variable1=$1&variable2=$2 [nc]
An example link would be..
http://domain.com/path1/name23/http://domain2.com/stuff/is/here
I want to turn transfer that 2nd URL to variable2.