如何访问joomla目录中的子文件夹文件?

时间:2019-03-06 11:02:30

标签: joomla

我有joomla目录,该目录具有子文件夹名称成员资格和文件。我需要通过浏览器URL访问成员资格文件夹,但访问时我遇到了500个内部服务器错误的问题。如何避免。

for example:
https://example.com // joomla directory with htaccess
https://example.com/membersip/file.php

Output: 500 internal server error

1 个答案:

答案 0 :(得分:0)

通常,您应该可以毫无问题地访问它。但是,.htaccess文件中可能还有其他限制。

在我的htaccess文件中,重写条件中的以下行允许直接访问文件夹:

# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d

研究www-文件夹中的.htaccess-文件,以确保它不会阻止直接访问子文件夹。

否则,500内部服务器错误应在服务器日志中留下一些错误消息。