Need mod_rewrite help (apache)
I want anything after the .com to be passed as a variable to [login to view URL]
Example:
[login to view URL]
will be rewritten as:
[login to view URL]
(if it has file=/[login to view URL], that would be fine as well)
Example2 :
[login to view URL]
will be rewritten as:
[login to view URL]
Example:
[login to view URL]
will be rewritten as:
[login to view URL]
[login to view URL]
[login to view URL]
and
[login to view URL]
should not be rewritten.
I will then use the $file variable within my [login to view URL] script, declaring it with
$file=$_GET['file'];