By abderbij
hi every one , i just migrate my website to DO and i have this problem of uploading images and themes ,here is my error log:
[Tue Feb 28 22:15:09.659684 2017] [authn_file:error] [pid 31692] (2)No such file or directory: [client 196.64.42.**:****] AH01620: Could not open password file: /etc/apache2/.phpmyadmin.htpasswd, referer: http://www.exemple.com/wp-admin/post.php?post=12160&action=edit
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
That specific error is stating that /etc/apache2/.phpmyadmin.htpasswd does not exist.
Inside your .htaccess file, are you referencing that file? If so, you’ll need to make sure it exists as any problems with your .htaccess file may cause issues elsewhere since WordPress relies on it heavily.
Have you checked other directories to ensure that another .htaccess file does not exist? That error is telling me that there is password protection somewhere and it’s trying to locate that file, but since it’s not found, it’s logging the error.
As far as the .htaccess file you posted, the following line shouldn’t be required and isn’t part of the normal WordPress .htaccess:
RedirectMatch Permanent wp-admin/install(-helper)?.php /
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.