Hi, I've recently run into a problem where I can't access phpmyadmin, when I try to login it simply redirects me back to the login page.
Things I've tried:
-Reinstalling phpmyadmin
-Clearing cookies
-Using a different browser
-Using a different computer
All same results after all the things I've tried, any ideas?
phpmyadmin not working
-
- A regular
- Posts: 52
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed May 28, 2014 9:20 pm
Re: phpmyadmin not working
Sounds like something may be wrong with your .htaccess. Have you made any edits to this file? If so, try temporarily disabling your .htaccess to see if that helps solves your issue.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: phpmyadmin not working
That indeed was the case, I was piecing together some rewrites earlier to make my links look better.
For the time being I just moved it into a different directory/subdomain so that I can use it, but I'd like to write my rules around this eventually. I'll go ahead and post my rule block just to see if anyone can point anything out or recommend a change.
For the time being I just moved it into a different directory/subdomain so that I can use it, but I'd like to write my rules around this eventually. I'll go ahead and post my rule block just to see if anyone can point anything out or recommend a change.
Code: Select all
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !www.sleekgamers.com$ [NC]
RewriteRule ^(.*)$ http://www.sleekgamers.com/$1 [L,R=301]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php
RewriteRule ^index\.php$ / [L,R=301]
## THE PHP REDIRECT
## hide .php extension
# To externally redirect /dir/foo.php to /dir/foo
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R=302,L]
# To internally forward /dir/foo to /dir/foo.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*?)/?$ $1.php [L]
## END PHP CLEAN REDIRECT
RewriteRule ^topic-([0-9]+)$ topic.php?id=$1 [L,QSA]
RewriteRule ^category-([0-9]+)$ category.php?id=$1 [L,QSA]
ErrorDocument 404 /notfound.html
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 week"
ExpiresByType image/jpeg "access 1 week"
ExpiresByType image/gif "access 1 week"
ExpiresByType image/png "access 1 week"
</IfModule>
## EXPIRES CACHING ##