运行 apache2 服务器上的网页时缺少 BokehJS 库

BokehJS library is missing while running the webpage on an apache2 server

我正在尝试在 apache2 服务器上显示由 bokeh 渲染的网页,所以我遵循了 documentation,这是我的 .conf 文件:

<VirtualHost *:80>
    ServerName MyWebpageAdress.se

    ProxyPreserveHost On
    ProxyPass /ws ws://127.0.0.1:5100/webpage/ws
    ProxyPassReverse /ws ws://127.0.0.1:5100/webpage/ws

    ProxyPass / http://127.0.0.1:5100/webpage/
    ProxyPassReverse / http://127.0.0.1:5100/webpage/

    <Directory />
            Require all granted
            Options -Indexes
    </Directory>

    Alias /static /path/to/my/static/folder/
    <Directory /path/to/my/static/folder/>
            # directives to effect the static directors
            Options +Indexes
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

我已将 jslibvenv/Lib/site-packages/bokeh/server/static 复制到我的静态文件夹。但是,当我尝试访问该站点时,我只得到一个空白站点,当我检查该页面时,我发现 console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");

(当我在本地查看页面时,页面按预期呈现)

知道我可能做错了什么吗?

修改后需要添加需要的模块并重启apache

a2enmod proxy
a2enmod proxy_http
a2enmod proxy_wstunnel
apache2ctl restart