phpmyadmin gives 404

anti-ts

Verified User
Joined
Jan 25, 2014
Messages
42
Inside directadmin, the link to open phpmyadmin is pointing to a non-existing (404) path/alias.

Actually this link points to:
http://<IP>/phpmyadmin

and this gives a 404 error.


You can get acccess to phpmyadmin at the following URL:
http://<IP>/phpMyAdmin-4.1.5-all-languages
which is working correctly.

Is there an alias (/phpmyadmin) that should have been created and it's not?
Any ideas on how to fix this?

I tried ./build phpmyadmin
and
./build rewrite_confs

but it is not working.


Using cb2 with cloudlinux.

Thank you...
 
If you try http://<IP>/phpMyAdmin (capital letters M and A, it should work). To temporary fix it, add the following to the bottom of this file: /etc/httpd/conf/extra/httpd-alias.conf

Code:
Alias /phpmyadmin /var/www/html/phpMyAdmin/

Then restart httpd and http://<IP>/phpmyadmin without capital M and A should work.

Also this should be fixed in next version of DirectAdmin, please see reply #10 http://forum.directadmin.com/showthread.php?t=47600&p=247254#post247254

Here is the version entry: http://www.directadmin.com/features.php?id=1553
 
Great! Hopefully the bugfix I linked to is working, if so, this problem will be solved in the next version of DirectAdmin. In the meantime, remember that httpd-alias.conf will be overwritten whenever you run ./build rewrite_confs

Also if you use Roundcube webmail, then you might want to add this line at the bottom of the same file you added the alias for phpmyadmin (it might not be needed for you, but it is needed on my servers):

Code:
Alias /roundcube /var/www/html/roundcube/
 
I hope the bug fix to be merged on next DA update.

Roundcube (/roundcube alias) for me was working right, without the need to change something.


Thanks...
 
Back
Top