Hi,

Try this .htaccess file:

RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^\/locations\/(.*)$ /?spot=$1

On Oct 6, 8:28 pm, Sav <[EMAIL PROTECTED]> wrote:
> can someone help me with an .htaccess rewrite?
>
> i'm trying to convert all requests to "/?spot=8888" to be "/locations/
> 888".
>
> thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to