Author Topic: phpMyAdmin Alias error 500 Internal Server  (Read 4583 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
phpMyAdmin Alias error 500 Internal Server
« on: November 11, 2014, 07:30:12 AM »
Hi!!

Im triying to create an Alias to make anydomain.com/phpmyadmin work to phpMyAdmin app.
Using IP is OK, so i know an Alias is needed.

Seems easy but is not working. Code i've test with several modifications, none work:

Code: [Select]
Alias /phpmyadmin /usr/local/apache/htdocs/phpMyAdmin

<Directory /usr/local/apache/htdocs/phpMyAdmin>
  Options -Indexes
  AllowOverride All
</Directory>

PHP error log show:
Code: [Select]
[Tue Nov 11 02:12:28 2014] [error] [client 1.111.111.1] SoftException in Application.cpp:221: File "/usr/local/apache/htdocs/phpMyAdmin/index.php" is not in document root of Vhost "/home/USER/public_html"
[Tue Nov 11 02:12:28 2014] [error] [client 1.111.111.1] Premature end of script headers: index.php

Is that related to mod_security? suPHP? Didn't digg to much over those two software so im totally nude vs it.

Suggestions? I've checkd that http://www.howtoforge.com/forums/archive/index.php/t-53662.html but disable suPHP is not a proper solution.

This problem is present in all alias of apps's i guess, because it affects roundcube and phpmyadmin.

The other way seems to do a trick from .htacess, but im not sure about that way.
Help :P
8==D it's a function that try to compare 8 (int) against D (string) and not ALWAYS does return false.

Offline
*
Re: phpMyAdmin Alias error 500 Internal Server
« Reply #1 on: November 12, 2014, 03:43:09 AM »
apache is compiled with SuExec and suPHP so this two security addons will not allow you to run anything what does not have a proper permission.

Each vhost has defined user and grup...we will try to add this option but it will need to be tested.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services