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 (http:/
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
http
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
3 matches
Mail list logo