On Tue, Jan 27, 2009 at 4:47 PM, Charles Li <cli168@xxxxxxxxx> wrote: > I have setup my rewrite with the following: > > RewriteCond %{HTTP_HOST} ^.*serverINTG.*$ [NC] > > When I type in http://serverINTG.com/index, it get translated back to the real servername. But if I type in http://serverINTG.com/index/, with a slash, it stay with the alias. How do I make it stay with the alias with both slash and no slash? A guess: See the DirectorySlash directive, it can send a redirect based on the current value of ServerName and UseCanonincalName when the trailing slash isn't present. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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