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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > DirectAdmin proxy

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2010, 01:33 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default DirectAdmin proxy

Hello,
I wrote about cPanel proxy, but there is also problem with proxy to DirectAdmin backend. After setup the proxy works, but the problem is after succesful login to DirectAdmin. The site is being redirected to the port 2222. When we remove the port from the URL bar (after login) then we can access the DirectAdmin by port 80.

We wrote about this problem to DirectAdmin support, but they said that LiteSpeed propably send anouther headers then Apache, because the problem doesn't occur at servers using Apache.
Reply With Quote
  #2  
Old 02-24-2010, 10:31 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Does DirectAdmin run on port 2222?
I think port 2222 is hard coded in DirectAdmin response, LiteSpeed does not change the response at all.
If DirectAdmin do not use absolution URL it should work fine.
Reply With Quote
  #3  
Old 02-24-2010, 01:05 PM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default DirectAdmin proxy problem

Yes, DirectAdmin run on port 2222. After successful login DirectAdmin redirect to URL with port 2222. The problem is that at Apache proxy evering goes fine and DirectAdmin doesn't redirect to URL with port 2222. We are still waiting for a reaply from DirectAdmin support. We asked for a role deciding to redirect or not redirect to port 2222.
Reply With Quote
  #4  
Old 02-24-2010, 02:35 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Apache proxy scan and modify the response, it rewrite the host part of the URL I think.
LiteSpeed does not.
You can check the response header/body from Apache/litespeed with firebug see if it is the case.
Reply With Quote
  #5  
Old 02-27-2010, 05:27 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default DirectAdmin proxy problem

Yes, this will be the reason.

The DirectAdmin send a location header:
Location http://server_address:2222/

The location header is being changed by the Apache directive: ProxyPassReverse


Is there possibility that the header will by also changed by the LiteSpeed? If not we will have to post to DirectAdmin support to correct the redirection.
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 02:10 AM.



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