Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 3:59 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > > However, Don's question was of the kind that is easily overlooked on the > apache list, where topics tend to be a little less basic. I tend to > think that basic apache/php questions are sometimes better asked here, > even

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Per Jessen
Daniel Brown wrote: > Per's answer is probably exactly what you're looking for, Don. > Keep in mind, though, that this isn't a PHP question. Future > questions of this nature would be better suited for the Apache list. Couldn't agree more. > You may find sometimes that asking a question on the

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 6:00 AM, Don Don <[EMAIL PROTECTED]> wrote: > Hi all, > > I've set up a url rewrite code below. > > Options +FollowSymLinks > RewriteEngine on > > RewriteRule profile/username/(.*) profile.php?username=$1 > > It only works when I type in this url > http://www.example.com/pr

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Per Jessen
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 n

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Raman .
Hi!! For Internal redirection: RewriteRule profile/username/([^/]+) profile.php?username=$1 [PT] On Fri, Jul 25, 2008 at 3:00 AM, Don Don <[EMAIL PROTECTED]> wrote: > Hi all, > > I've set up a url rewrite code below. > > Options +FollowSymLinks > RewriteEngine on > > RewriteRule profile/username

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Don Don
/profiles/profile/username/baller --- On Fri, 7/25/08, Per Jessen <[EMAIL PROTECTED]> wrote: > From: Per Jessen <[EMAIL PROTECTED]> > Subject: Re: [PHP] URL Rewrite not working for me > To: php-general@lists.php.net > Date: Friday, July 25, 2008, 3:15 AM > Don Don wrote: &

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Per Jessen
Don Don wrote: > Hi all, > > I've set up a url rewrite code below. > > Options +FollowSymLinks > RewriteEngine on > > RewriteRule profile/username/(.*) profile.php?username=$1 > > It only works when I type in this url > http://www.example.com/profiles/profile/username/baller/ > > If i do not

[PHP] URL Rewrite not working for me

2008-07-25 Thread Don Don
Hi all, I've set up a url rewrite code below. Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*) profile.php?username=$1 It only works when I type in this url http://www.example.com/profiles/profile/username/baller/ If i do not then the normal url http://www.example