Directadmin安装sspanel

1)在httpd.conf添加自定义内容:


|?DOCROOT=/home/admin/domains/domain.com/public_html/public|

 

2)最郁闷的,基本功能都OK,但是编辑用户资料,编辑公告都出现405或502错误。最后发现,Directadmin默认不支持PUT方法,按下面方法修改后搞定。


cd /usr/local/directadmin/custombuild ./build set http_methods GET:HEAD:POST:<span class="out1 c">PUT:DELETE</span> ./build rewrite_confs

参考网址:https://help.directadmin.com/item.php?id=700