On Oct 31, 2007 4:04 PM, Alberto García Gómez <alberto@xxxxxxxxxxxxxxxxx> wrote: > > > I have this URL > > http://www.myserver.com/dir1/dir2/page.html > > and I wish to rewrite the url using mod_rewrite to add a ~ after the first > dir always, eg.: > > http://www.myserver.com/~dir1/dir2/page.html > > Please it's very important to make this ASAP The question is not well specified. Do you want to change what the users see or what apache tries to access? Tell us exactly what you want people to type in their browser (or html links) and exactly what you want apache to do when it receives the request. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx