我設法使用this Etherpad installation instruction啓動並運行Etherpad。將Etherpad安裝到子目錄
它在我的服務器上運行於http://localhost:9000/
,並通過反向代理服務器和SSL在Apache上交付至https://www.example.com/
。
這一切都運行良好,但由於Etherpad不是我唯一的應用程序,我希望它被稱爲通過https://www.example.com/etherpad/
。我怎樣才能管理這個?
我試圖ProxyPass
命令更改爲
ProxyPass /etherpad/ http://localhost:9000/
ProxyPassReverse /etherpad/ http://localhost:9000/
這使得它可以在/etherpad/
目錄,但其中的所有ressources仍然從/
(根目錄)交付。在/etc/etherpad/etherpad.local.properties
配置文件中,我沒有找到任何相關的設置。
如何告訴Etherpad在子目錄中生存?我不能使用其他子域名,因爲我在那裏沒有SSL。
我沒有設法讓它工作,也沒有真正將所有數據移動到子目錄中。我切換到使用相對路徑的Etherpad-Lite。 – arnep