I have a Joomla site. I've created a subfolder with a landing page. This landing page was coded in HTML + CSS. This works perfectly but now I have added a little PHP plugin to manage MailChimp subscribers. But when I try to access to the php file, the server throws the following 403 error:
Forbidden You don't have permission to access http://www.domain.es/folder/sub-folder/server.php
I have changed the .htaccess file to allow PHP files the following way (but it doesn't work):
<FilesMatch *.php$>
Allow from all
</FilesMatch>
Any ideas?
Try renaming server.php
to myfile.php
and see if you still have the same problem. It might be that your Apache server configuration has a rule to block server.php
because, in many instances, files that have server.php
as their name are malicious.