[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Change default user's website URL "users/my_user"to"my_user"



On Fri, 4 Aug 2000, Jean-Philippe CAZARD wrote:
> Thank you for your help, but, I have tried your solution, with a
> "RewriteRule" directive in a .htaccess file, but ... unsuccessfully (I have
> a 404 Error with URL www.domain.com/joe, while www.domaine.com/users/joe is
> OK :-(

That's cause i botched it ;)
Try it like this

Options FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteRule ^joe(.*)$ /~joe/$1 [L]

---

Seems it needs to be set up in this rather odd way to keep it from
interacting with the existing rewrite rules for user directories :(


g.