LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > RedirectPermanent redirect loop

Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2012, 12:55 PM
kcam kcam is offline
New Member
 
Join Date: Nov 2012
Posts: 2
Default RedirectPermanent redirect loop

I'm trying to use the following redirect and it seem that is it's reading /map.html/ and /map.html as being the same which is creating a loop.

RedirectPermanent /map.html/ http://xxxxxxxx/map.html

I am running Lsws Linux (x86_64) 4.2.1 Ent

Last edited by kcam; 11-26-2012 at 03:17 PM..
Reply With Quote
  #2  
Old 11-26-2012, 05:23 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
you need to define web server external app named xxxxxxxx. see proxy-host section in this doc (https://store.litespeedtech.com/stor...yarticle&id=21).
Reply With Quote
  #3  
Old 11-26-2012, 06:07 PM
kcam kcam is offline
New Member
 
Join Date: Nov 2012
Posts: 2
I'm using a directadmin setup.

would that apply if its going to the same domain?

http://mysite/map.html/ and http://mysite/map.html
Reply With Quote
  #4  
Old 11-27-2012, 02:54 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
use something like in .htaccess under docroot.

Quote:
RewriteEngine on
RewriteRule ^(map\.html)/$ /$1 [R=301,L]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:06 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.