.htaccess blocking this plugin
-
Hi Shane and all AceIDE users,
Since this original topic has been locked for new answers, I’m creating a new one that may help some people with the same issue as mine.
After the 2.6.0 upgrade this plugin stopped working as it should, prompting and error to load the Ajax.php file it requires to handle its core functionalities. Well, six months(!) latter I figured it out what was the cause of this malfunction: the .htaccess file with the following code bellow.
## BEGIN WORDPRESS LOCKDOWN ## ## IMPORTANT - If you customize the rules below, change the line above to read '## BEGIN WORDPRESS LOCKDOWN - CUSTOM ##' # Rules to protect WordPress from malicious code injections <FilesMatch "\.(php)$"> # Deny everyone but localhost access to PHP files. See the next stanza for index.php and wp-login.php public access. Order Deny,Allow Deny from all # Append additional IPs to the line below if external web access to PHP files is needed. Allow from 127.0.0.1 </FilesMatch> <FilesMatch "index.php|wp-login.php|wp-comments-post.php|wp-cron.php|load-styles.php|edit.php|post.php|wp-tinymce.php"> # Allow anyone to access files listed above. Allow from all </FilesMatch> ## END WORDPRESS LOCKDOWN ##
This code was generated by Softaculous, a cPanel module wich does automatic installs of numerous apss, including WordPress. Seems it tries to protect the installation by adding these rules to .htaccess, and at the same time it blocked AceIDE Ajax.php file with a 403 forbiden error. Removing the code solved my problem, but as security measure I’m putting it back on production sites, where I do not use Ace at all.
Hope it helps anyone experiencing issues while trying to use this plugin!
Best regards,
—
AndreThe page I need help with: [log in to see the link]
- The topic ‘.htaccess blocking this plugin’ is closed to new replies.