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
#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


Messages In This Thread
Problems with alias /webmail - by andreapuglisi95 - 11-18-2015, 04:06 AM
RE: Problems with alias /webmail - by TGates - 11-18-2015, 05:58 AM
RE: Problems with alias /webmail - by TGates - 11-18-2015, 09:33 AM

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 5 ,092 09-14-2021, 06:25 AM
Last Post: sparkrack
Problems After PHP7 upgrade bloods 3 7 ,775 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 16 ,566 12-03-2018, 07:01 AM
Last Post: worksmarter

Forum Jump:


Users browsing this thread: 3 Guest(s)