禅德 +服务器问题弹出气球

发布于 2024-08-28 11:13:52 字数 720 浏览 2 评论 0原文

来自 Stackoverflow 的亲爱的朋友,

请帮助我解决我在将项目上传到时遇到的问题 服务器。

我正在使用弹出气球(http://mckay.cshl.edu/balloons.html)对于使用 Zend FW 的项目,它在我的本地主机上运行良好。 (我在 MacOSX 上使用 MAMP)但是当我将网页上传到服务器时,会显示气球内的文本,但不会显示形成气球的图像,因此 js 无法识别图像的 url(路径是正确的,我已经检查了好几次)。

该服务器是来自rackspace.com的Ubuntu 9.04虚拟机,运行LAMP服务器。

我正在 Apache 中使用 REWRITE 函数,所以我想这可能就是问题所在。 重写配置是使用包含以下内容的 .htaccess 文件设置的:

SetEnv APPLICATION_ENV 开发

选项 +FollowSymlinks

RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule !.(js|ico|txt|gif|jpg|png|css|html)$ index.php

有谁知道问题可能是什么?

此致,

Dear Friends from Stackoverflow,

Please help me with a problem that i'm having when uploading my project to
the server.

I'm using pop up's balloons (http://mckay.cshl.edu/balloons.html) for a project using Zend FW and it works fine on my localhost.
(I'm using MAMP on MacOSX) but when I upload the webpage to the server, the text inside the balloons is displayed but the images that form the balloon are not, so somehow the js does not recognize the url to the images (the path it's correct, i've checked several times).

The server is an Ubuntu 9.04 virtual machine from rackspace.com, running a LAMP server.

I'm using the REWRITE function in Apache, so i guess maybe that's the problem.
The rewrite configuration is set up using a .htaccess file with the following content:

SetEnv APPLICATION_ENV development

Options +FollowSymlinks

RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule !.(js|ico|txt|gif|jpg|png|css|html)$ index.php

Does anyone knows what the problem might be?

Best Regards,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

黎夕旧梦 2024-09-04 11:13:52

您检查过图像的文件权限吗?也许它们设置不正确。

Have you check the file permissions for the images? maybe they are set incorrectly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文