pkgacct htaccess failed
Hi,
When I run the pkgacct to backup account, I got the following error
Fixing up EA4 .htaccess blocks: /home/username/public_html/.htaccess ^[[1;30;43m(failed)^[[0m Done
I'd like to ask how to fix this problem? (Why does it need to fix up something of htaccess file? I think the htaccess is working normally)
Thanks!
-
Hello, That step of the backup process ensures the .htaccess file is supported if the account is restored on a different environment (e.g. different default PHP version, EasyApache 3). Could you let us know the full contents of the .htaccess file utilized by that account (ensure to remove references to real domain names)? Thank you. 0 -
Hi, Here is the content of the htaccess file # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress # BEGIN MainWP RewriteEngine On RewriteBase / RewriteRule ^wp-content/plugins/mainwp-child/(.*)$ /wp-content/plugins/THIS_PLUGIN_DOES_NOT_EXIST [QSA,L] # END MainWPSo, if the new server has different default/easyapache 3 versions, the actual htaccess file should still be restored (it may or may not work, but the physical file should be restored, is it correct?) Thank you!0 -
Hello, Yes, the .htaccess file should still be included in the archive and restored as-is based on the logs you provided. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments