我需要在创作部分设置crafter cms studio,以便能够从远程主机(例如VPS)访问。我正在通过 Apache Web 服务器代理使用 Tomcat ajp 连接器。我试过像添加虚拟主机一样:
<VirtualHost *:80>
ServerName studio
DocumentRoot /home/web-apps/crafter/bin/apache-tomcat/webapps/studio
RewriteEngine On
ProxyPreserveHost On
# Send requests to Engine's Tomcat
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
# This is where errors related to this virtual host are stored
ErrorLog logs/mysite-error.log
# This is where access logs are stored
CustomLog logs/mysite-access.log combined
</VirtualHost>
但并没有真正成功。我只能看到总是告诉我的默认页面:“Crafter CMS 没有为此域配置站点。请配置您要显示的站点或在创作环境中选择一个站点。” 当我像http://my_remote_host_ip/studio一样请求它时
有人曾经挑战过这样的问题吗?