domain.com/phpMyAdmin gives "No input file specified" after SuPHP+open_basedir
Dear friends
Our php mode is suphp and we realized that the open_basedir flah is not working with suphp
So for avoiding user's to have access to other user's directories we were forced to implement the OLD WAY procedure of this article:
http://help.directadmin.com/item.php?id=183
So each user has a php.ini file under /home/$USER/ and in it we have defined the open_basedir as:
open_basedir=/home/usernameOfourUser:/usr/local/etc/php5/cgi:/tmp
Also for giving access to the webmail and phpmyadmin websites we defined the open_basedir path of the the main PHP.INI of server like this:
Main php.ini ===> /usr/local/etc/php5/cgi/php.ini
open_basedir=/usr/local/etc/php5/cgi:/tmp:/usr/local/directadmin/data:/var/www/html/
Users can open webmail from:
http://webmail.domain.com/
But they can't open webmail from http://domain.com/roundcube ( No input file specified. )
phpMyAdmin is only accessible from SERVERip/phpMyAdmin and we can't open the phpMyAdmin from
domain.com/phpMyAdmin
We can make it possible to open the phpMyAdmin from phpmyadmin.domain.com by changing dns template and virtual host (just like what we did for webmail.domain.com)
But we want to know why the phpMyAdmin is accessible from
serverip/phpMyAdmin
but we are not able to open it using
domain.com/phpMyAdmin ====> error message: ( No input file specified. )
Dear friends
Our php mode is suphp and we realized that the open_basedir flah is not working with suphp
So for avoiding user's to have access to other user's directories we were forced to implement the OLD WAY procedure of this article:
http://help.directadmin.com/item.php?id=183
So each user has a php.ini file under /home/$USER/ and in it we have defined the open_basedir as:
open_basedir=/home/usernameOfourUser:/usr/local/etc/php5/cgi:/tmp
Also for giving access to the webmail and phpmyadmin websites we defined the open_basedir path of the the main PHP.INI of server like this:
Main php.ini ===> /usr/local/etc/php5/cgi/php.ini
open_basedir=/usr/local/etc/php5/cgi:/tmp:/usr/local/directadmin/data:/var/www/html/
Users can open webmail from:
http://webmail.domain.com/
But they can't open webmail from http://domain.com/roundcube ( No input file specified. )
phpMyAdmin is only accessible from SERVERip/phpMyAdmin and we can't open the phpMyAdmin from
domain.com/phpMyAdmin
We can make it possible to open the phpMyAdmin from phpmyadmin.domain.com by changing dns template and virtual host (just like what we did for webmail.domain.com)
But we want to know why the phpMyAdmin is accessible from
serverip/phpMyAdmin
but we are not able to open it using
domain.com/phpMyAdmin ====> error message: ( No input file specified. )