Control Web Panel

WebPanel => Aplications => Topic started by: erm3nda on November 11, 2014, 07:30:12 AM

Title: phpMyAdmin Alias error 500 Internal Server
Post by: erm3nda 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 (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
Title: Re: phpMyAdmin Alias error 500 Internal Server
Post by: Administrator 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.
Title: Re: phpMyAdmin Alias error 500 Internal Server
Post by: pigo on July 19, 2018, 05:51:33 PM
thanks a lot for sharing
here are putlockers (https://putlockershub.com/) to watch movies online