This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Problems with alias /webmail
#1
Problems with alias /webmail
Hello, Thanks for you amazing Work did on Sentora, I upgrade to your amazing Panel from Vesta CP and it's look very functional and excellent for my work. I have a problem with my domain, I followed the How-to Set up /webmail or /mysql for all domains of @TGates ( http://forums.sentora.org/showthread.php?tid=1214 ) But my problem is that I'm getting an error 500 on my domain, why?, I tried all solution but I didn't resolve my problem. I setted the correct permission for the Directories. Sorry for my bad english, and thanks a lot for your help.


Andrea.
Reply
Thanks given by:
#2
RE: Problems with alias /webmail
This was for Ubuntu 14.04 w/ apache 2.4
Code:
# Alias for MySQL login
Alias "/mysql" "/etc/sentora/panel/etc/apps/phpmyadmin"
<Directory "/etc/sentora/panel/etc/apps/phpmyadmin/">
   Options +FollowSymLinks -Indexes
   AllowOverride All
   Require all granted
</Directory>
# Alias for WebMail login
Alias "/webmail" "/etc/sentora/panel/etc/apps/webmail"
<Directory "/etc/sentora/panel/etc/apps/webmail/">
   Options +FollowSymLinks -Indexes
   AllowOverride All
   Require all granted
</Directory>
For CentOS 6.5 I think there was a change that needed to be made to the AllowOverride part (Apache 2.2):
Code:
# Alias for MySQL login
Alias "/mysql" "/etc/sentora/panel/etc/apps/phpmyadmin"
<Directory "/etc/sentora/panel/etc/apps/phpmyadmin/">
  Options +FollowSymLinks -Indexes
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>
# Alias for WebMail login
Alias "/webmail" "/etc/sentora/panel/etc/apps/webmail"
<Directory "/etc/sentora/panel/etc/apps/webmail/">
  Options +FollowSymLinks -Indexes
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>
Quote:If you're using apache 2.4
Order allow,deny
Allow from all
becomes...
Require all granted
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: andreapuglisi95
#3
RE: Problems with alias /webmail
Thanks @TGates , Now I'm waiting for next Daemon Run and I'm able to tell you if the are any issues or it's fixed, however I've Apache 2.2.15.

EDIT: PROBLEM SOLVED. THANKS A LOT @TGates . NOW IS AVAILABLE THE CUSTOM ALIAS. If you want post-it in how to section of your post Wink
Reply
Thanks given by:
#4
RE: Problems with alias /webmail
Yes, I will have to update my post to include apache 2.2 Wink
At work and on my phone, will try and remember it tomorrow.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[split] Can Not Log Into PHPMyAdmin or Webmail after upgrading to PHP 7.1.24 ogika 2 4 ,312 09-14-2021, 06:25 AM
Last Post: sparkrack
Problems After PHP7 upgrade bloods 3 6 ,810 12-03-2019, 10:36 AM
Last Post: Jettaman
Can Not Log Into PHPMyAdmin or Webmail after upgrading to PHP 7.1.24 King0321 7 14 ,224 12-03-2018, 07:01 AM
Last Post: worksmarter

Forum Jump:


Users browsing this thread: 1 Guest(s)