0

好吧,我在 cpanel 中创建了一个子域 test.xyz.com,将其指向 /test 文件夹,然后在其中插入了一个 index.php 文件,仅此而已。

当我试图访问它时,我得到一个500 Internal Server ErrorApache 说:

*Wed Nov 21 14:20:59 2012] [error] [client xx.xxx.xxx.xx] SoftException in Application.cpp:256: File "/home/username/public_html/test/index.php" is writeable by group"*

所以我将权限更改为 750 ( chmod -R 750 /home/username/public_html/test)

然后刷新后我收到了一个403 Forbidden error,Apache 报告了一个:

*[Wed Nov 21 13:59:12 2012] [crit] [client xx.xxx.xxx.xx] (13)Permission denied: /home/username/public_html/test/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable*

我的目录中没有 .htaccess 文件,因此我尝试在其中放置一个文件,但这并没有以任何方式更改错误消息。我进行了广泛的搜索,但我看到的唯一解决方案是调整到各种权限级别,我尝试过各种组合。

4

0 回答 0