Thread: redirect issue
View Single Post
  #4  
Old 01-26-2007, 08:19 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
I see.
The second redirect is because of missing trailing slash for the admin directory in the URL, LSWS does not check the "X-Forwarded-Proto" header.

This extra redirect can be avoided.

You can either add a matching context for URL "^/admin$", forward it directly to mongrel, tell LSWS avoid checking the existance of admin/ directory.

Or, just redirect to "/admin/" from "/", if URL "/admin/" works as well.
Reply With Quote