Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I can't access PHPMyAdmin. I have installed XAMPPlite 1.6.5 on Windows 7. I haven't changed any config, except .htaccess, where I added the third line:

Order deny,allow
Deny from all
Allow from localhost

Unfortunately, I get the following error when I try to access phpMyAdmin or security from localhost.

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

share|improve this question
    
I wonder why I was downvoted –  Casebash Aug 25 '12 at 5:29
add comment

1 Answer 1

First question: Are you actually accessing it from localhost? (127.0.0.1 ONLY!)

In your httpd.conf file or somewhere in the main Apache config, you've probably got a line like "AllowOverride None" and should be set to All instead. (That prevents .htaccess files from working properly (security).

Or even it might in the PHPMyAdmin configuration. I couldn't tell you where that is because I don't know what operating system you use (it varies).

share|improve this answer
    
Yes, I am accessing it from localhost (localhost/xampp). I am using Windows –  Casebash Aug 25 '12 at 4:37
    
@Casebash - Windows... In your Apache config, there may be a file in the includes folder called "security.conf" or similar. Look for a block with PHPMyAdmin in a VirtualHost container and see if there's an AllowOverride None –  ionFish Aug 25 '12 at 4:47
    
I can't even find an includes folder :-( –  Casebash Aug 25 '12 at 5:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.