[clug-talk] mod_rewrite question...
Nick Wiltshire
nick at customdesigns.ca
Wed Sep 6 07:47:04 PDT 2006
Hi all,
I posted this to the progsig list but didn't get an answer, hopefully someone
here will know. It seems like it should be easy, but there's obviously
something I don't know/understand.
What I'm trying to do is use mod_rewrite to grab a certain part of the end of
a url and turn it into a $_GET in PHP. Something like:
http://www.example.com/some/thing/
becomes
http://www.example.com/?var=some/thing
Now, I suspect the slashes may be part of the issue, but I'm not sure.
I've tried various rules and either end up in an infinite loop or get 500
internal server error.
Any ideas?
Nick
More information about the clug-talk
mailing list