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