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
  #1  
Old 27th February 2007, 04:23
wonka wonka is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Webmail on port 80, ISPConfig on port 81

Hi,

I'm aware that this issue has been discussed previously, but after reading for a couple of hours the ISPConfig forum, it seems the answer is still missing. I'm looking for a way to accomplish this redirect:

http://www.domain.tld/webmail -> http://www.domain.tld:81/webmail

So far, I've tested apache's redirect as suggested and it works regarding the redirect part, but at the URL it shows the address of the localhost and not the domain.tld created. In other words, it works like this:

http://www.domain.tld/webmail -> http://www.server.com:81/webmail

which for me is somehow a partial solution, as I'm trying to make a transparent webmail for every domain created.

I don't think that the "install a webmail on each domain" solution is practical; and the "create a webmail.domain.tld each time" isn't too; so I guess there's got to be a way.

So the question remains: How can I make a redirect like the first case. Can anyone suggest a rewrite rule that can accomplish this? Something like:

RewriteRule /webmail :81/webmail

Please post any advise regarding this issue I'll appreciate it very, very much.

Thank you,

Edo
Reply With Quote
Sponsored Links
  #2  
Old 27th February 2007, 08:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

Please have a look here:

http://www.howtoforge.com/forums/showthread.php?t=10554
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 1st March 2007, 19:06
wonka wonka is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

For future references, I still haven't accomplished this yet. When I go to:

http://www.domain.tld/webmail

The URL bar from the browser still shows:

http://www.server.com:81/webmail

Even after testing what that post says.
Reply With Quote
  #4  
Old 2nd March 2007, 13:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What did you do so far?
__________________
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
  #5  
Old 2nd March 2007, 16:43
wonka wonka is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ive tested alias, rewrites and redirects. My current config is ISPServer 2.2.10, Apache 2.0.52, and Roundcube webmail (I know it is still beta but I'd like to use something different than squirrelmail).

Everything works fine and the issue is just making invisible the server URL when loading the webmail from other created domain.

Server running ISPConfig: www.server.com
Domain created from ISPConfig: www.domain.tld

So among other things Ive tested this at the domain.tld section on Vhosts_ispconfig.conf:

Test 1:
-------
Alias /webmail "/home/admispconfig/ispconfig/web/webmail"

Result 1:
--------
Roundcube page loads with no login fields and an error that says "SERVICE CURRENTLY NOT AVAILABLE Error No. 1f4)"
Also /var/www/web4/log/error.log (which is the log file for www.domain.tld) shows "PHP Notice: DB Error: extension not found in /home/admispconfig/ispconfig/web/webmail/program/include/bugs.inc on line 80".
But if I load www.domain.tld:81/webmail Roundcube loads fine.

Test 2:
-------
Redirect /webmail http://www.domain.tld:81/webmail

Test 3:
-------
RewriteEngine on
RewriteRule ^/webmail http://%{SERVER_NAME}:81/webmail

Test 4:
-------
RewriteEngine on
RewriteRule ^/webmail http://www.domain.tld:81/webmail


Results 2, 3, 4:
---------------
Loads www.server.com:81/webmail
(Remember that the expected result should be that the browser shows as URL www.domain.tld:81/webmail)


Please advise what can I test. Thanks,

Edo
Reply With Quote
  #6  
Old 3rd March 2007, 15:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Please try
Code:
RewriteEngine on
RewriteRule ^/webmail http://www.domain.tld:81/webmail [L]
or
Code:
RewriteEngine on
RewriteRule ^/webmail http://www.domain.tld:81/webmail [R]
instead.
__________________
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
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
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
Can't get ISPCONFIG Server from outside. BullyWug General 12 17th November 2007 19:05
ispconfig on port 443 (standard secure port) gjcomputer Installation/Configuration 8 1st October 2006 13:38
Problems with Webmail, ISPConfig, and Debian Sarge Spudchat Installation/Configuration 13 20th September 2006 00:54
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 20:40.


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