Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th July 2009, 15:59
Heeter Heeter is offline
HowtoForge Supporter
 
Join Date: Dec 2007
Posts: 236
Thanks: 25
Thanked 4 Times in 4 Posts
Default keep getting 404 error with ISPconfig webmail

Hi all,

I am trying to figure out why I keep getting 404 error when I type in my domain address "www.mydomain.com/webmail"

This is both inside and outside the network. When I type in the IP address inside the network "192.168.1.100/webmail" squirrelmail does come up.

This is for ISPConfig3/Debian5

Thanks

Heeter
________
WHOLESALE VAPORIZER

Last edited by Heeter; 7th March 2011 at 19:21.
Reply With Quote
Sponsored Links
  #2  
Old 6th July 2009, 17:20
Rescue9 Rescue9 is offline
Member
 
Join Date: Jun 2007
Posts: 52
Thanks: 4
Thanked 3 Times in 2 Posts
Default

REMOVED: I didn't properly read the question. My answer was in error.

Last edited by Rescue9; 6th July 2009 at 19:17.
Reply With Quote
  #3  
Old 6th July 2009, 19:25
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,769
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Thats easy as you can not connect to webmail trough the domain as there is no directory named webmail in the website www.mydomain.com. You can either make a symlink inside the website directory that points to the sources of the webmail application (works only for mod_php oe cgi /fcgi php without suexec) or you create a nwe website like webmail.yourdomain.com and install a webmail client of your choice in it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 6th July 2009, 21:08
Heeter Heeter is offline
HowtoForge Supporter
 
Join Date: Dec 2007
Posts: 236
Thanks: 25
Thanked 4 Times in 4 Posts
Default

Hi Till,

How does the domain go about answering email from outside the network without installing their own webmail?

Will a package be made available to install like ISPConfig2?

Thanks again,

Heeter
________
Jaguar xjr-15 history

Last edited by Heeter; 7th March 2011 at 19:22.
Reply With Quote
  #5  
Old 7th July 2009, 12:00
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Can' you just add an Alias + some directory directives to you apache2.conf
did that and works fine on all domains, patched roundcube so it autom. picks up the correct domain for initial user setup .. et voila
Reply With Quote
  #6  
Old 7th July 2009, 15:34
Heeter Heeter is offline
HowtoForge Supporter
 
Join Date: Dec 2007
Posts: 236
Thanks: 25
Thanked 4 Times in 4 Posts
Default

Great Idea, MarkNL

Wold you be able to give a little more detail on that setup? That would be much appreciated.

Thanks

Heeter
________
Ultimate fighter

Last edited by Heeter; 7th March 2011 at 19:22.
Reply With Quote
  #7  
Old 7th July 2009, 16:20
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
 
Default

I wanted all new and existing customers have:
www.domain.tld/phpmyadmin
www.domain.tld/webmail

So i installed phpmyadmin and roundcube in /var/www/sharedip (this way it's also reachable through http://serverip/...

/var/www/sharedip/_phpmyadmin
/var/www/sharedip/_webmail

(i put _ infront to distinguish normal folders from alias-ed dirs)

- Make a extra.conf in /etc/apache2
Code:
Alias /phpmyadmin/ /var/www/sharedip/_phpmyadmin/
Alias /webmail/ /var/www/sharedip/_webmail/
<Directory "/var/www/sharedip/">
 AddType application/x-httpd-php .php
 AllowOverride Options Limit FileInfo
</Directory>
The AllowOverride is there for roundcube to work correctly (with it's .htaccess)

Add the following line at the END of your /etc/apache2/apache2.conf:
Code:
Include /etc/apache2/extra.conf
Now install roundcube as normal, just follow the instructions and use the test at the end to see if everything works.

Now open main.inc.php and go to line 76. It should say:
Code:
$rcmail_config['username_domain'] = '';
change that to:

Code:
preg_match('/.*?\.(.*)/', $_SERVER['SERVER_NAME'], $aMatches);
$rcmail_config['username_domain'] = $aMatches[1];
It's probably not watertight, but it works
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
ISPConfig 3.0.1 released till General 36 29th March 2009 14:30
ispconfig webmail for client won't load Heeter General 20 6th February 2009 15:58
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08
Webmail on port 80, ISPConfig on port 81 wonka Installation/Configuration 5 3rd March 2007 15:46
move webmail to other ispconfig server provell Installation/Configuration 3 27th February 2007 16:07


All times are GMT +2. The time now is 13:51.


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