|
|

02-01-2012, 07:51 AM
|
|
Member
|
|
Join Date: Dec 2011
Posts: 40
|
|
[solved] Interworx integration for webmail
Guys. So far everything rocks with litespeed. Using it production-wise. Just have some minor glitches, like the mod_rewrite for wordpress issue (separate thread), and not getting the webmail at port 80.
Basically, with interworx, webmail is at port 2443, the default for their internal webserver I think. However, with apache, I think it's being proxied (mod_proxy as per interworx reply) to be accessible at port 80, like http://domain.com/webmail. This is done automatically and no webmail folder really exists per website.
However, with the switch to litespeed, webmail is no longer accessible at port 80, and now our clients have to go through port 2443, which everyone of my clients hate. Anyway I can get litespeed to work the same way? Any suggestions? Below is the response I got form interworx support, hoping that helps as well
Here are my questions to them and their reply, hopefully some can chime in....
1. webmail is no longer accessible from domain.com/webmail. Now I have to
put the port 2443 to access webmail. Before with apache, webmail was in port 80
at domain.com/webmail
The apache configuration for webmail at port 80 is in the /etc/httpd/conf.d/iworx.conf. It uses apache's mod_proxy, so my best guess is that litespeed doesn't handle that apache configuration? Perhaps the litespeed folks could provide an alternative.
2. webserver part of nodeworx is empty. I mean the RRD graphs now looks like no traffic at all....
This is because that particular graph is generated from the mod_watch apache module, which litespeed doesn't support. There's not much we can do about this one unfortunately.
Last edited by NiteWave; 02-15-2012 at 06:50 PM..
|

02-01-2012, 11:40 AM
|
|
Member
|
|
Join Date: Dec 2011
Posts: 40
|
|
Thanks! but what do I do with it and where do I put it? 
|

02-01-2012, 12:03 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,337
|
|
you need to
1. create a web server external app (e.g. name: webmail, addr: server_address:2443) at server level.
2. create rewrite rule in .htaccess under domain docroot.
Quote:
|
RewriteRule ^(.*)$ http://webmail/$1 [P,E=Proxy-Host:domain.com]
|
|

02-01-2012, 12:54 PM
|
|
Member
|
|
Join Date: Dec 2011
Posts: 40
|
|
|
I have added the external app. I created the .htaccess file. I get a 500 error. My .htaccess located in my ./html folder is
RewriteEngine On
RewriteRule ^(.*)$ http://webmail/$1 [P,E=Proxy-Host:domainxyz.com/webmail]
Anything I'm doing wrong?
EDIT: What's worse is the domain itself becomes accessble with a 500 error once I have the rewriterule in place.
Last edited by bangsters; 02-01-2012 at 01:27 PM..
|

02-15-2012, 02:24 PM
|
|
Member
|
|
Join Date: Dec 2011
Posts: 40
|
|
|
I got a workaround by using a subdomain. works like a charm.
however, it is only for http proxying....
any idea when litespeed will support proxy for https?
|

02-15-2012, 02:33 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,337
|
|
|
Proxy through https is not a priority item. You can use https as frontend interface with user and have backend proxy through http as a workaround.
|

02-15-2012, 02:41 PM
|
|
Member
|
|
Join Date: Dec 2011
Posts: 40
|
|
|
HI.
How can I do that? I meant having the front end in https?
Last edited by bangsters; 02-15-2012 at 04:40 PM..
|

02-15-2012, 04:57 PM
|
|
Member
|
|
Join Date: Dec 2011
Posts: 40
|
|
That is how i did it I think....
I created a vhost with a dedicated IP in portal.domainxyz.com/webmail. Then I created an .htaccess file inside that subdomain containing:
RewriteRule ^(.*)$ https://webmail/$1 [P] #,E=Proxy-Host ortal.domainxyz.com]
In the litespeed backend, do I still use webmail with 127.0.0.1:2080 (http) or 127.0.0.1:2443? I currently left it at port 2080 since it should be http.
But I'm getting a 500 error. what am i doing wrong?
Last edited by bangsters; 02-15-2012 at 05:13 PM..
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:59 PM.
|
|