且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用 Apache 代理进行 Plone

更新时间:2023-09-20 10:43:10

设置一个不会被代理而是直接从 Apache 提供的静态 URL,如下所示:

Set up a static URL that will not be proxied but served from Apache directly, like this:

ProxyPass /static !
ProxyPass / http://localhost:8080/VirtualHostBase/http/server:80/Plone/VirtualHostRoot/
ProxyPassReverse / http://localhost:8080/VirtualHostBase/http/server:80/Plone/VirtualHostRoot/

然后配置/static 以包含您的静态内容.

Then configure /static to contain your static content.