帮助我修复我的网站 - 该网站用于在底层图像地图上旋转主页图像
标题:旋转主页图像(用于网站)- 不再有效。 我是一名物理学家/野生动物艺术家,有一个网站(我于 2002 年创建)来展示和展示我的作品。推销我的艺术品。我已经设置了一个底层(主页)图像地图 - 链接到:“老虎”、“豹子”、“鸟类”、艺术家信息等,每次用户导航时,叠加的图像都会发生变化(交换)到/从主页。每个主页的链接具有相同的数字坐标,并且页面之间的位置不会改变,只是图像发生变化。您可以在 www.queerryart.com 上查看我的空白页网站。注意下面的链接确实有效。
直到去年,该网站都非常棒。当时我以前的网络主机倒闭了,我改用了 Jumpline.com。从那时起,调用固定子例程的命令就不起作用了。
交换图像的例程名为 pid.cgi(存储在 cgi-bin 中)。
我在每个页面末尾使用的另一个单行页面计数器 cgi 例程称为预装程序“count.cgi”,该程序对该页面的访问者进行计数,增加每页的“点击量”,并将它们存储在仅向我显示的表格中。这是我可以确定各种图像受欢迎程度的一种方法。这个 cgi 例程现在也不起作用 - 在每个页面上都会给我一条错误消息。
不管怎样,如果没有这些例程(特别是第一个交换图像的例程),我就会迷失方向。我的凯迪拉克网站变成了一辆空车,这是进步吗?希望有人能帮忙。我不是程序员。
Title: Rotate Homepage Image (for website)- No longer works.
I am a physicist/wildlife artist with a website (I created in 2002) to display & market my artwork. I have set it up with an underlying (homepage) image map - having links to: "tigers", "leopards", "birds", artist info, etc., with the overlying image changing (swapping out) every time the user navigates to/from homepage. The links for each homepage have the same numerical coordinates and do not change locations from page to page, just the image changes. You can see my blank-page site at www.querryart.com. Note links below DO work.
The website was fabulous until last year. At that time my former webhost went out of business, and I changed to Jumpline.com. Since then, the commands which call canned subroutines do not work.
The routine which swaps out the image is named pid.cgi (stored in the cgi-bin).
Another one-line page-counter cgi routine I used at the end of each page called a canned program "count.cgi" which counted visitors to that page, incremented "hits" per page, and stored them in a table displayed only to me. This was a way I could determine the popularity of various images. This cgi routine also does not now work - giving me an error message on each page.
Anyway, I am lost without these routines (particularly the first one to swap out images). Is it progress that my Cadillac website has turned into an empty wagon? Hope someone can help. I'm not a programmer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我的第一个猜测是,您可能需要更改 CGI 文件顶部的行,以便服务器能够处理它们。例如,如果使用 Perl,
#!/usr/bin/perl
是公共目录,#!/usr/local/bin/perl
也是公共目录。哦,你把权限设置为755了吗?
My first guess is that you may need to change the line(s) at the top of your CGI file in order for the server to process them. For example, if using Perl,
#!/usr/bin/perl
is a common directory, and so is#!/usr/local/bin/perl
.Oh, and have you set the permissions to 755?
对于初学者: http://www.querryart.com/cgi-bin/pid.cgi 不存在。您可能需要确保文件上传到正确的位置。
For starters: http://www.querryart.com/cgi-bin/pid.cgi does not exist. You might want to make sure the file is uploaded to the correct place.
通过快速检查您的网站,脚本似乎不在正确的位置,因为网络服务器给出了 404 - 未找到。当我尝试获取 /cgi-bin/pid.cgi
此外,该脚本采用绝对路径作为参数(cfile=/home/queerryar/httpdocs/cgi-bin/dicont.cnf)这一事实看起来像是一个明显的安全性允许访问您帐户中的任何文件时出现问题。你真的应该考虑一个不同的解决方案
From a quick check at your web site, it looks like the scripts are not in the right place because the webserver gives a 404 - not found. when I try to get /cgi-bin/pid.cgi
Furthermore, the fact that the script takes an absolute path as a parameter (cfile=/home/querryar/httpdocs/cgi-bin/dicont.cnf) looks like a glaring security problem allowing access to any files in your account. You should really consider a different solution