具有 CDN 的服务器场中的 WordPress
我已经设置了一个 WordPress 多站点博客,该博客在 5 台服务器上进行负载平衡(我们预计会有大量流量)。这是在 Windows 中使用 IIS 7
我们遇到的一个问题是 wp-content 文件夹并将其与所有服务器同步。
我尝试将 wp-content 目录移动到共享驱动器,然后在 IIS 中使用虚拟目录,但这似乎不起作用,我按照此处的说明进行操作(http://codex.wordpress.org/Editing_wp-config)。 php) ...但是当 wp-content 与实际博客位于不同的驱动器上时,无法使博客正常工作。
因此,我们决定使用反之亦然来同步文件夹。
现在我被要求利用我们拥有的 CDN,limelight(不是亚马逊 s3,所以我不能使用该插件)来托管我们的图像。我想以某种方式将此 CDN 与 WordPress 同步,然后利用某种插件来重写 URL,以便它们指向 CDN。
我还应该补充一点,这个博客是由非技术人员更新的,因此要求他们直接将文件上传到 CDN 并不是一个真正的选择。
提前致谢。
I have setup a wordpress multisite blog that is load balanced over 5 servers (we're expecting a lot of traffic). This is in windows and using IIS 7
One issue we had was the wp-content folder and synching that with all servers.
I attempted to move the wp-content dir to a shared drive and then use a virtual dir in IIS, but this did not seem to work, I followed the instructions here (http://codex.wordpress.org/Editing_wp-config.php) ... But could not get the blog to work when wp-content was on a different drive than the actual blog.
Therefore we decided to use vice versa to synch the folders.
Now I am being asked to utilize a CDN we have, limelight (not amazon s3, so I cannot use that plugin) to host our images. I want to somehow synch this CDN with wordpress and then utilize some sort of plugin to rewrite the URL's so that they point to the CDN.
I should also add that this blog is updated by non technical people, therefore asking them upload files directly to the CDN is not really an option.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,用于在多站点中卸载图像上传的 Codex 说明只是......不。
我知道您不会使用 amazons3 插件,但它确实适用于多站点,我能告诉您的最好的信息就是看看(因为还没有具体的文档)那个插件,看看他们是如何做的,适应你的使用。
No, the codex instructions for offloading image uploads in multisite just... no.
I know you won't be using the amazons3 plugins, but it does work with multisite, and the best I can tell you (becasue there are no specifics docs for this yet) is to have a look at that plugin, see how they do it, adapt for your use.