admin 管理员组文章数量: 1086019
I'm building a website with Sphinx and want to shorten the public URL. By default, the Sphinx "make html" command places files in a "/build/html/" directory. My script then rsyncs the new/modified files to my company's shared server, and within several subdirectories so that the public URL is quite lengthy - for e.g.,
https://shared-server/directory/directory/directory/build/html/index.html
where "index.html" is the home page of the site. Is there a way to remove the "build/html" portion of the path, or to shorten the site's path, in general? I know there are URL-shortening services, but are those typically recommended for full sites?
本文标签: Shorten Site39s public URL with SphinxStack Overflow
版权声明:本文标题:Shorten Site's public URL with Sphinx - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1744016156a2518955.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论