Content management system localhost:8080/hello world返回404-enonic xp

Content management system localhost:8080/hello world返回404-enonic xp,content-management-system,Content Management System,我已经创建了enonic projecthello world站点。content studio将网站URL显示为/hello world 但当浏览器调用localhost:8080/hello world时,它会从enonic服务器返回404错误日志 如何解决此问题?您必须使用以下内容配置您的XP\u HOME/config/com.enonic.XP.web.vhost.cfg文件: enabled = true mapping.a.host = localhost mapping.a.s

我已经创建了enonic project
hello world
站点。content studio将网站URL显示为
/hello world
但当浏览器调用
localhost:8080/hello world
时,它会从enonic服务器返回
404
错误日志


如何解决此问题?

您必须使用以下内容配置您的XP\u HOME/config/com.enonic.XP.web.vhost.cfg文件:

enabled = true

mapping.a.host = localhost
mapping.a.source = /hello-world
mapping.a.target = /site/default/master/hello-world
mapping.a.idProvider.system = default
你可以在网站上阅读更多关于它的信息