.htaccess - convert querystring variables into url segments? |
[eluser]Matthew Pennell[/eluser]
I'm having an .htaccess problem, hopefully someone can help me out. ![]() I'm working on something that uses a third-party remote API which it accesses via cURL, but the API only uses querystrings to return the authorization key to my app. So I can set the callback URL, but it will always send back the response as: http://localhost/myapp/controller/method...d1e1f1f1e1 Obviously this isn't much use to CodeIgniter, so I thought I could use .htaccess to intercept those requests and rewrite the url to make the token into a url segment: http://localhost/myapp/controller/method...d1e1f1f1e1 Here's my .htaccess: Code: RewriteEngine on Unfortunately, this setup gives me a 500 Internal Server Error. ![]() Anyone know how to do this properly? |
Messages In This Thread |
.htaccess - convert querystring variables into url segments? - by El Forum - 03-19-2008, 07:48 AM
.htaccess - convert querystring variables into url segments? - by El Forum - 03-23-2009, 02:56 AM
.htaccess - convert querystring variables into url segments? - by El Forum - 03-23-2009, 03:28 PM
.htaccess - convert querystring variables into url segments? - by El Forum - 03-24-2009, 01:06 AM
.htaccess - convert querystring variables into url segments? - by El Forum - 06-17-2010, 06:13 PM
.htaccess - convert querystring variables into url segments? - by El Forum - 06-17-2010, 08:10 PM
.htaccess - convert querystring variables into url segments? - by El Forum - 06-18-2010, 06:16 AM
|