forum/public-web-frontendgit-annexhttp://git-annex.branchable.com/forum/public-web-frontend/git-annexikiwiki2013-11-27T22:47:37Zshould work..http://git-annex.branchable.com/forum/public-web-frontend/comment_1_c73bd2dfe020c25eaad1c0707dd2db01/joeyh.name2013-11-27T22:47:37Z2012-08-05T17:18:47Z
<p>I see no need for <code>git annex fix</code> here.</p>
<p>Web server default configurations may not allow following symlinks outside the web server document root. On apache, it can be enabled with <code>Options FollowSymLinks</code></p>
Alternate version - smarter integration with other remotes/web special remote?http://git-annex.branchable.com/forum/public-web-frontend/comment_2_0026d7be6b17e50d86b3b54985882f80/Bryan2013-11-27T22:47:37Z2013-03-03T14:19:12Z
<p>I love the idea of pushing files to "visible" using annex, but I'm wondering how difficult to would be to make this even fancier.</p>
<p>For instance, if there are files that were originally imported from the web special remote (and have http:// prefixes, since that's not guaranteed), and they're not actually in the pushed annex, generate a redirect for all of them and write a special remote-local .htaccess file.</p>
<p>Or, similarly, allow each remote to have some metadata which specifies what, if any, the URL prefix for a directory in annex is. Then, whenever you update a web remote, the auto-generated redirects list could contain not only files not present but with web-remote locations, but also other remotes which have the file under a web-visible path prefix. Bonus for allowing URL prefixes for S3-style remotes that are not encrypted.</p>
<p>My use case for this sort of fancy is that I have a large server with gobs of space but on a personal (slower) internet connection, and a much smaller hosted instance with much faster bandwidth. With this smarts, I could push and pull large/expected high traffic files to the higher bandwidth/smaller machine ahead of, say, announcing a new feature or sharing a link to a video via e-mail.. or even reactively if the lower-bandwidth server is getting overwhelmed.</p>