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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 1st November 2012, 16:49
IrishDoc IrishDoc is offline
Member
 
Join Date: Nov 2012
Posts: 38
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by sjswarts View Post
Is it a VPS?
Do you have actual root access? or did they just make you an account and add you to the sudoers file?
actual root access, no need for me to add the 'sudo' for my commands
Reply With Quote
Sponsored Links
  #12  
Old 1st November 2012, 17:04
sjswarts sjswarts is offline
Senior Member
 
Join Date: May 2011
Location: Australia
Posts: 135
Thanks: 17
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by IrishDoc View Post
yes it does

Code:
Alias /squirrelmail /usr/share/squirrelmail
Alias /webmail /usr/share/squirrelmail

<Directory /usr/share/squirrelmail>
  Options FollowSymLinks
  <IfModule mod_php5.c>
    AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc Off
    php_flag track_vars On
    php_admin_flag allow_url_fopen Off
    php_value include_path .
    php_admin_value upload_tmp_dir /var/lib/squirrelmail/tmp
    php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname:/var/spool/squirrelmail
    php_flag register_globals off
  </IfModule>
  <IfModule mod_dir.c>
    DirectoryIndex index.php
  </IfModule>

  # access to configtest is limited by default to prevent information leak
  <Files configtest.php>
    order deny,allow
    deny from all
    allow from 127.0.0.1
  </Files>
</Directory>

# users will prefer a simple URL like http://webmail.example.com
<VirtualHost 91.121.156.14>
  DocumentRoot /usr/share/squirrelmail
  ServerName webmail.kustomhosting.net
</VirtualHost>

# redirect to https when available (thanks omen@descolada.dartmouth.edu)
#
#  Note: There are multiple ways to do this, and which one is suitable for
#  your site's configuration depends. Consult the apache documentation if
#  you're unsure, as this example might not work everywhere.
#
#<IfModule mod_rewrite.c>
#  <IfModule mod_ssl.c>
#    <Location /squirrelmail>
#      RewriteEngine on
#      RewriteCond %{HTTPS} !^on$ [NC]
#      RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI}  [L]
#    </Location>
#  </IfModule>
#</IfModule>
Change

Code:
<VirtualHost 91.121.156.14>
to

Code:
<VirtualHost 91.121.156.14:80>
__________________
Regards,
Steven Swarts
Reply With Quote
  #13  
Old 1st November 2012, 17:11
sjswarts sjswarts is offline
Senior Member
 
Join Date: May 2011
Location: Australia
Posts: 135
Thanks: 17
Thanked 5 Times in 5 Posts
Default

Make sure to run

Code:
/etc/init.d/apache2 restart
What we could do to eliminate the possibility of squirrelmail being the problem (which I think it is - something wrong in your squirrelmail.conf) we can just remove that link.

Do this:

Code:
rm /etc/apache2/conf.d/squirrelmail.conf
That will remove the link and then run:

Code:
/etc/init.d/apache2 restart
Then check if you can access ISPConfig
__________________
Regards,
Steven Swarts
Reply With Quote
  #14  
Old 1st November 2012, 17:40
IrishDoc IrishDoc is offline
Member
 
Join Date: Nov 2012
Posts: 38
Thanks: 6
Thanked 0 Times in 0 Posts
Default

OK. after removing the mail link it worked. What do you think it might be in the conf of squirrelmail?
Reply With Quote
  #15  
Old 1st November 2012, 18:12
sjswarts sjswarts is offline
Senior Member
 
Join Date: May 2011
Location: Australia
Posts: 135
Thanks: 17
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by IrishDoc View Post
OK. after removing the mail link it worked. What do you think it might be in the conf of squirrelmail?
Before you removed the link did you change the squirrelmail.conf to reflect my previous post?

Change

Code:
<VirtualHost 91.121.156.14>
to

Code:
<VirtualHost 91.121.156.14:80>
The issue I believe is the webmail.example.com virtualhost. If its not because you forgot to add the port behind the IP then something else is missing or miss configured.

To re-add the link do this:

Code:
cd /etc/apache2/conf.d/
ln -s ../../squirrelmail/apache.conf squirrelmail.conf
/etc/init.d/apache2 reload
__________________
Regards,
Steven Swarts
Reply With Quote
  #16  
Old 5th November 2012, 22:27
IrishDoc IrishDoc is offline
Member
 
Join Date: Nov 2012
Posts: 38
Thanks: 6
Thanked 0 Times in 0 Posts
 
Default

Thanks for all your help. The problem was in the port and I was able to reload the webmail link.
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
Webmail on ISPConfig 3 Master One Installation/Configuration 8 6th June 2013 09:27
Horde Groupware Webmail Edition ByteMe Networking Tips/Tricks/Mods 17 20th December 2012 10:12
Login Screen goes directly to webmail not ispconfig3 IrishDoc Installation/Configuration 2 3rd November 2012 00:24
ISPConfig 3 Single server issues on POP3/IMAP/ MyDNS vk1003 Installation/Configuration 7 17th July 2012 15:25
Pointing Webmail and Postfix Mail Server to Static IP Address need_a_linux_brain Installation/Configuration 0 12th May 2009 22:28


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


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