doupo1908 2015-06-05 09:13
浏览 91

Joomla 403 Forbidden尝试访问php文件时

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?

  • 写回答

1条回答 默认 最新

  • dou448172583 2016-07-12 12:32
    关注

    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.

    评论

报告相同问题?

悬赏问题

  • ¥15 html5+css有人可以帮吗?
  • ¥30 Unity接入微信SDK 无法开启摄像头
  • ¥20 有偿 写代码 要用特定的软件anaconda 里的jvpyter 用python3写
  • ¥20 cad图纸,chx-3六轴码垛机器人
  • ¥15 移动摄像头专网需要解vlan
  • ¥20 access多表提取相同字段数据并合并
  • ¥20 基于MSP430f5529的MPU6050驱动,求出欧拉角
  • ¥20 Java-Oj-桌布的计算
  • ¥15 powerbuilder中的datawindow数据整合到新的DataWindow
  • ¥20 有人知道这种图怎么画吗?