Re: RewriteRule help

From: Date: Sat, 01 Mar 2008 11:56:34 +0000
Subject: Re: RewriteRule help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-270799@lists.php.net to get a copy of this message
Anybody knows what apache RewriteRule to use if I want url: http://www.aaa.comm/user/aaaa/ be rewritten as: http://www.aaa.comm/user/index.php/aaaa/ 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 <Files> Apache directive to make it be parsed as a PHP script (http://www.phpguru.org/article.php/212) 3. Then in the "user" file you can use the $_SERVER['REQUEST_URI'] to ascertain the correct content to show. -- Richard Heyes (wondering if he's getting a bit of a reputation...) Employ me: http://www.phpguru.org/cv

« previous php.general (#270799) next »