Joomla 乔姆拉罐头';t打开模板目录
当我打开Joomla 乔姆拉罐头';t打开模板目录,joomla,Joomla,当我打开example.com/templates/something.php时,我得到一个错误 The requested URL /templates/ was not found on this server. Apache Server at example.com Port 80 如果我尝试在localhost中打开,它可以正常工作,但在宿主中则不行。可能有什么问题?为什么要尝试直接访问模板文件?使用Joomla,您不需要直接打开模板文件。即使如此,这也没有关系,如果您尝试在浏览器
example.com/templates/something.php
时,我得到一个错误
The requested URL /templates/ was not found on this server.
Apache Server at example.com Port 80
如果我尝试在localhost中打开,它可以正常工作,但在宿主中则不行。可能有什么问题?为什么要尝试直接访问模板文件?使用Joomla,您不需要直接打开模板文件。即使如此,这也没有关系,如果您尝试在浏览器上请求,它会返回200 OK。您的虚拟主机设置正确吗?当您单独请求example.com时会发生什么?