i have managed to setup phpmyadmin on my centos vps
but when i visit http://myserverip/phpmyadmin or http://mydomain.com/phpmyadmin
i got this message
Not Found
The requested URL /phpmyadmin was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at mydomain.com Port 80
here how i setup phpmy admin
Code:
$ su -
# cd /var/www/html
# wget -c http://prdownloads.sourceforge.net/phpmyadmin/
phpMyAdmin-2.11.3-english.tar.gz?download
# tar xvfz phpMyAdmin-2.11.3-english.tar.gz
# mv phpMyAdmin-2.11.3-english phpmyadmin
# cd phpmyadmin
# cp config.sample.inc.php config.inc.php
# vi config.inc.php
:
$cfg['Servers'][$i]['auth_type'] = ‘http‘; # default is cookies
:
# service httpd restart