I have a PHP file, index.php, that is set as the index file for my site. If someone wants to pull up a value for
a, as an example, then they would type
http://www.website.com/?value=a. Is it possible to set up a redirect so that the user just has to type in
http://www.website.com/a? I tried setting up a redirect from
/?value=, but the
a is being forgotten and the user is simply redirected to
www.website.com/?value=. Is this possible to do? Also, what is the difference between a
Redirect and a
I am using Apache on my Mac Snow Leopard Server.
Edit: I found this on Apple's website: you can use a RedirectMatch with a pattern of
(.*)\.jpg and a path of
www.website.com/$1.jpg to forward all JPG requests to website.com. Any idea how I could get this to work with the PHP?