Hkm Sadek
Hkm Sadek

Reputation: 3209

phpmyadmin is not loading correctly

i tried to login to my phpmyadmin (EC2 instance) i tried to visit

domain.com/phpmyadmin it didn't load then I typed domain.com/phpmyadmin/index.php it loads. After logging in I am seeing total mess of my phpmyadmin

enter image description here

What could be the reason for it? Any help is highly appreciated. Thank you!

Upvotes: 1

Views: 410

Answers (2)

Ranjan Kumar
Ranjan Kumar

Reputation: 1

This problem is due to RewriteRule of .htaccess file. Please check .htaccess file and remove RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

Upvotes: 0

Andrei Lupuleasa
Andrei Lupuleasa

Reputation: 2762

Try with .htaccess:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]

htaccess remove index.php from url

https://help.dreamhost.com/hc/en-us/articles/215747748-How-can-I-redirect-and-rewrite-my-URLs-with-an-htaccess-file-

Upvotes: 1

Related Questions