Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 11th January 2007, 08:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

To fix squirrelmail, please try the configuration described here under fixing HTML links:

http://www.apachetutor.org/admin/reverseproxies
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 11th January 2007, 21:20
achaian achaian is offline
Junior Member
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am wanting to do something similar...I guess?

With this exception:

change: https://www.domain.tld:81/squirrelmail/

to : https://webmail.domain.tld

Am I in the right thread? If not I apologize to the author for mucking it up.
Reply With Quote
  #13  
Old 12th January 2007, 03:23
richjam000 richjam000 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK - had a look at : http://www.apachetutor.org/admin/reverseproxies

Had initial problems with "ProxyHTMLURLMap" as my Centos 4.4 apache 2.0.52 install did not have mod_proxy_html
fixed this with
yum install httpd-devel.i386 ( to get apxs )
cd /usr/local/src
wget http://apache.mirror.positive-intern...-2.0.59.tar.gz
untar it
cd httpd-2.0.59/modules/proxy
wget http://apache.webthing.com/mod_proxy...d_proxy_html.c
apxs -c -I/usr/include/libxml2 -i mod_proxy_html.c

add this to /etc/httpd/conf/httpd.conf
LoadFile /usr/lib/libxml2.so
LoadModule proxy_http_module modules/mod_proxy_http.so

AAAAH- so then I could start thing about this again:
http://www.apachetutor.org/admin/reverseproxies

Put this into my vhost virtual hosts ( say https:ww.fred.com) as a test:
SSLProxyEngine On
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule headers_module modules/mod_headers.so
LoadFile /usr/lib/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so
ProxyRequests off
ProxyPass /webmail/ https://ispconfig.mysite.com:81/
ProxyHTMLURLMap https:///ispconfig.mysite.com:81 /webmail

<Location /webmail/>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /webmail/
ProxyHTMLURLMap /webmail /webmail
RequestHeader unset Accept-Encoding
</Location>

Soo... then I tried
https://www.fred/com
and I I got a login screen,
but when I logged ( yes I know this is the ispconfig screen - just a proxy test) I just got a blank page.

Shame - but getting there.

Not sure if it's relevant but my error_log shows:
"usable charset information: using old HTTP default LATIN1"

Maybe somone can spot something I've missed ?
Reply With Quote
  #14  
Old 12th January 2007, 16:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by achaian
I am wanting to do something similar...I guess?

With this exception:

change: https://www.domain.tld:81/squirrelmail/

to : https://webmail.domain.tld

Am I in the right thread? If not I apologize to the author for mucking it up.
No, you're wanting something slightly different. Take a look here: http://www.howtoforge.com/forums/sho...hlight=webmail
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 13th January 2007, 00:17
richjam000 richjam000 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would say , "yes" we are after the same thing.

People want to get to webmail on port 80 or 443, not 81 because:
i) they dont want to open extra port on their webserver.
ii) a lot of companys will block people connecting for port 81 frorm thier company web-browsers.
I think this thread and these 2 should be linked in some way:
http://www.howtoforge.com/forums/showthread.php?t=9726
http://www.howtoforge.com/forums/sho...hlight=webmail

I recon the proxy approach could lead to the solution, but Im a bit stuck at the moment ( please see my previous entry in this thread).
I may have another go over the weekend, but Im begining to think it would be easier to do a manual webmail install on my own webserver rather than the ispconfig one.

Note the proxy approach did allow me to connect to the ispconfig main admin page over https(port 443), proxied to the ispconfig webserve on port 81 ( see my previous posts)
Reply With Quote
  #16  
Old 15th January 2007, 14:05
achaian achaian is offline
Junior Member
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko
No, you're wanting something slightly different. Take a look here: http://www.howtoforge.com/forums/sho...hlight=webmail
Excellent. Thank you!!
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading Dapper to Edgy with aptitude dist-upgrade roolet Installation/Configuration 8 2nd November 2006 14:10
Odd question for Falko Randy Installation/Configuration 1 16th October 2006 14:58
Upgrade to 2.2.6 puts # Redirect # NOT SUPPORTED ppettigrew Installation/Configuration 3 29th September 2006 10:52
Can you advice for Redirect and web home name? datayoung Installation/Configuration 6 13th August 2006 19:44
Routing question virtual machines geek.de.nz Server Operation 1 2nd July 2006 18:13


All times are GMT +2. The time now is 02:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.