HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Ip goes directly to webmail instead of isp3 HELP please (http://www.howtoforge.com/forums/showthread.php?t=59348)

IrishDoc 1st November 2012 16:53

Ip goes directly to webmail instead of isp3 HELP please
 
I followed the tutorial on how to setup isp3 for ubuntu 12.04lts and when I go to the ip address it shows the login screen for webmail and not isp3. I am not sure what I have done or how to fix it.

sjswarts 1st November 2012 17:10

Quote:

Originally Posted by IrishDoc (Post 287640)
I followed the tutorial on how to setup isp3 for ubuntu 12.04lts and when I go to the ip address it shows the login screen for webmail and not isp3. I am not sure what I have done or how to fix it.

G'day IrishDoc,

In the URL did you use the port that was chosen at the ISPConfig setup section of that tutorial? I believe that ISPConfig defaults to port 8080

So if you choose SSL access type into your favourite web browser

https://example.com:8080 or https://192.168.1.1:8080

If you didn't choose SSL type into your favourite web browswer

http://example.com:8080 or http://192.168.1.1:8080

Obviously change the IP and domain to what you have set!

Regards,
Steven Swarts

IrishDoc 1st November 2012 17:16

I have it on 8080, you can see here 91.121.156.14:8080, if you just enter the ip it goes to webmail. It goes to the webmail no matter what I enter.

sjswarts 1st November 2012 17:29

Quote:

Originally Posted by IrishDoc (Post 287642)
I have it on 8080, you can see here 91.121.156.14:8080, if you just enter the ip it goes to webmail. It goes to the webmail no matter what I enter.

1) Please show link to tutorial you used
2) Post contents of files:
a) /etc/apache2/sites-available/ispconfig.vhost
b) /etc/apache2/conf.d/squirrelmail.conf (I think its here, don't use it so it might have a different name or location)

Regards,
Steven Swarts

sjswarts 1st November 2012 17:35

More specifically are you running Nginx or Apache2?

IrishDoc 1st November 2012 17:35

Here is the link to the tutorial
http://www.howtoforge.com/perfect-se...ot-ispconfig-3

The files you asked me to check are showing permission denied, really not sure why that is, I have root access to my server and thats how I installed everything using putty.

IrishDoc 1st November 2012 17:38

apache2 (I believe), sorry I didn't specify that to my provider but when using the apache restart commands they worked perfectly.


Just verified with my provider that apache2 is being used

sjswarts 1st November 2012 17:46

Quote:

Originally Posted by IrishDoc (Post 287645)
The files you asked me to check are showing permission denied, really not sure why that is, I have root access to my server and thats how I installed everything using putty.

What happens when you do:

Code:

cat /etc/apache2/conf.d/squirrelmail.conf
that file should look like this to begin with:

Code:

Alias /squirrelmail /usr/share/squirrelmail
Alias /webmail /usr/share/squirrelmail


sjswarts 1st November 2012 17:47

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?

IrishDoc 1st November 2012 17:48

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>



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

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