Posted by MS on 11/21/06 16:48
>
> To rewrite requests only if the filename doesn't exist, use this:
>
> RewriteEngine on
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule ^(.*)$ index.php?username=$1 [L,QSA]
Thanks Christoph
This is exactly what I was looking for.
[Back to original message]
|