rewrite question

Adam Pilorz adam at pilorz.net
Wed Jun 13 02:55:37 PDT 2007


RewriteRule ^/([^?]*)$ /index.php?user=$1

I believe this one should work. You can also add this kind of
condition (before RewriteRule):

RewriteCond $1 !^(index\.php|robots\.txt)

So the whole RewriteEngine part of .htaccess should look like this:

RewriteEngine On
RewriteCond $1 !^(index\.php|robots\.txt)
RewriteRule ^/([^?]*)$ /index.php?user=$1

On 6/13/07, Webmaster <webmaster at myfoy.com> wrote:
> hi,
>
> our openid server is installed under openid.myfoy.com. the user url ist
> http://openid.myfoy.com/?user=<any_user_id> does anybody know what the
> rewrite rule is for openid.myfoy.com/<any_user_id> ? or should the
> server be installed in a different way?
>
> thank you
>
> dolce
>
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
>


-- 
Adam Pilorz
adam.pilorz.net / adam at pilorz.net



More information about the Dev mailing list