Don Don wrote:

> Hi Per,
> changed the rewrite to this
> 
> Options +FollowSymLinks
> RewriteEngine on
> 
> RewriteRule profile/username/(.*) profile.php?username=$1 [r]
> 
> but sill does not work the way i want.  Entering this url
> http://example.com/profiles/profile.php?username=baller  does not
> cnage to http://localhost/profiles/profile/username/baller
> 

Ah, you want it the other way round then.  The rewriterule is:

rewriterule  <frompattern> <to> 


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to