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
  #1  
Old 16th July 2014, 05:35
crypter crypter is offline
Junior Member
 
Join Date: Oct 2013
Posts: 21
Thanks: 2
Thanked 1 Time in 1 Post
Default CentOS Perfect Server - Webmail Alias?

Hi guys. Could someone tell me where the true URL is for http://domain.com/webmail? I want to set it up as a subdomain (e.g. http://mail.domain.com) but don't where the webmail is technically located. I know I could just set the subdomain to go to /webmail, but I'd like to know where the alias file is that tells it to go to the Squirrelmail login.
Reply With Quote
Sponsored Links
  #2  
Old 16th July 2014, 08:37
srijan srijan is offline
HowtoForge Supporter
 
Join Date: Feb 2014
Location: New Delhi, India
Posts: 951
Thanks: 7
Thanked 139 Times in 131 Posts
Default

Quote:
Originally Posted by crypter View Post
Hi guys. Could someone tell me where the true URL is for http://domain.com/webmail? I want to set it up as a subdomain (e.g. http://mail.domain.com) but don't where the webmail is technically located. I know I could just set the subdomain to go to /webmail, but I'd like to know where the alias file is that tells it to go to the Squirrelmail login.
Refer the thread, it will help you.
__________________
Br//
Srijan
Reply With Quote
  #3  
Old 17th July 2014, 05:14
crypter crypter is offline
Junior Member
 
Join Date: Oct 2013
Posts: 21
Thanks: 2
Thanked 1 Time in 1 Post
 
Default

Thanks for the link, but that's not exactly what I'm looking for. That simply talks about setting up redirects which I don't have a problem with. I have many subdomains set up to redirect. I guess I should elaborate more on my problem.

I'm running a blogging software that ultimately takes control of your domain, and all directories following after. This means the blog software runs on domain.com and all subdirectories. So in a normal ISPConfig environment, I would simply type in domain.com/webmail and it would take me to the squirrelmail login page. However because this particular blog software takes over the domain and all subdirectories, it tries to register domain.com/webmail as an actual page within the blog which doesn't exist.

Because of this, I'm trying to find the ACTUAL link to the squirrelmail login page. All I've found within the squirrelmail config that references the /webmail alias is the following from /etc/httpd/conf.d/squirrelmail.conf

Code:
#
# SquirrelMail is a webmail package written in PHP.
#

Alias /webmail /usr/share/squirrelmail

<Directory "/usr/share/squirrelmail/plugins/squirrelspell/modules">
  Deny from all
</Directory>

# this section makes squirrelmail use https connections only, for this you
# need to have mod_ssl installed. If you want to use unsecure http
# connections, just remove this section:
<Directory /usr/share/squirrelmail>
  RewriteEngine  on
  RewriteCond    %{HTTPS} !=on
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</Directory>
I'm wondering if this little bit of code is the one I need to play with:
Code:
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
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 - MultiServer Setup - With Dedicated Control Panel - How? SuperJC Installation/Configuration 4 16th October 2012 21:03
ISPConfig 3 - CentOS 5.4 - SSL Problems!?! owainbaber Installation/Configuration 4 26th July 2011 18:12
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 17:25
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
Webmail Relay Error palkat General 17 23rd April 2006 19:12


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


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