如何通过.htaccess允许直接访问我的网站?

时间:2017-06-05 14:29:43

标签: php apache .htaccess http permissions

因此,每当我尝试访问我网站上的目录时,都会转到403 Forbidden页面。这是我的.htaccess文件的样子:

suPHP_ConfigPath /home/highmo2/public_html

# xmlrpc Protection
<IfModule mod_alias.c>
Redirect 301 /xmlrpc.php http://127.0.0.1
</IfModule>

我可以添加到此文件中,以允许直接访问URL吗?

0 个答案:

没有答案
相关问题