On Tue, Jan 27, 2009 at 4:47 PM, Charles Li <[email protected]> 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
[email protected]

---------------------------------------------------------------------
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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to