[PHP] RewriteRule help

2008-03-01 Thread Shelley
Hi all, Anybody knows what apache RewriteRule to use if I want url: http://www.aaa.comm/user// be rewritten as: http://www.aaa.comm/user/index.php// It is not a php question. But now Im not in apache list and it's a little hurry. Any help, thank you very much. -- Cheers, Shelley

Re: [PHP] RewriteRule help

2008-03-01 Thread Richard Heyes
Anybody knows what apache RewriteRule to use if I want url: http://www.aaa.comm/user// be rewritten as: http://www.aaa.comm/user/index.php// It is not a php question. But now Im not in apache list and it's a little hurry. If possible you could: 1. Make user a php script 2. Use the

Re: [PHP] RewriteRule help

2008-03-01 Thread Greg Donald
On 3/1/08, Shelley [EMAIL PROTECTED] wrote: Anybody knows what apache RewriteRule to use if I want url: http://www.aaa.comm/user// be rewritten as: http://www.aaa.comm/user/index.php// RewriteRule ^user/([-a-zA-Z0-9]+)$ /index.php?user=$1 [NC,L] -- Greg Donald

Re: [PHP] RewriteRule help

2008-03-01 Thread Per Jessen
Shelley wrote: Hi all, Anybody knows what apache RewriteRule to use if I want url: http://www.aaa.comm/user// be rewritten as: http://www.aaa.comm/user/index.php// RewriteRule /user/([^/]+)/ /user/index.php/$1/ /Per Jessen, Zürich -- PHP General Mailing List