Joomla 403 Forbidden when trying to access php file

I have a Joomla site. I created a subfolder with a landing page. This landing page has been coded in HTML + CSS. This works great, but I have now added a small PHP plugin to manage MailChimp subscribers. But when I try to access the php file, the server throws the following 403 error:

Forbidden You do not have permission to access http://www.domain.es/folder/sub-folder/server.php

I changed my .htaccess file to allow PHP files like this (but it doesn't work):

<FilesMatch *.php$>
 Allow from all
</FilesMatch>

      

Any ideas?

+3


source to share


1 answer


Try renaming server.php

to myfile.php

and see if you have the same problem. Perhaps your Apache server configuration has a block rule server.php

, because in many cases files with server.php

as their name are malicious.



0


source







All Articles