无法在共享主机上运行 Twiki 的视图脚本
我尝试将 twiki 部署到 sourceforge.net 提供的共享主机上,仅供研究之用,SF.net 为用户提供了两个指令,我将子目录和原始 /bin 的所有文件放置到 /cgi-bin , /pub 放置到 /htdocs ,并使用 Winscp 创建了 /twiki 来托管 Twiki 的其他指令。成功运行配置脚本后, http://campus.sourceforge.net/cgi-bin/视图将自动重定向到
http://campus/sourceforge.netnot%20setnot%20set/oops/Main/WebHome?template=oopsaccessdenied;def=no_such_web;param1=view;template=oopsaccessdenied;def=no_such_web;param1=view
我在chrome中看到了上面的URL ,如果使用 IE,我会看到找不到页面。路径设置正确,/bin、/templates、/pub 和 /data 对于服务器用户是可写的。
如果你有空闲时间,可以登录我的sourceforge项目查看一下问题所在。请运行Winscp,然后输入用户名“opencourse,campus”,密码“51click”,登录web.sourceforge.net。配置页面位于 http://campus.sourceforge.net/cgi-bin/configure,随意修改路径设置以使系统正常工作。 任何建议表示赞赏,提前致谢!
I tried to deploy twiki to the shared hosting provided by sourceforge.net for research only, SF.net offers two directives for users, I placed the subdir and all the files of original /bin to /cgi-bin , /pub to /htdocs, and created /twiki with Winscp to host the other directives of Twiki. After I succeeded in running the configure script, http://campus.sourceforge.net/cgi-bin/view will automatically be redirected to
http://campus/sourceforge.netnot%20setnot%20set/oops/Main/WebHome?template=oopsaccessdenied;def=no_such_web;param1=view;template=oopsaccessdenied;def=no_such_web;param1=view
I saw the above URL in chrome, I would see Page Not Found if using IE. The path setting are correct, /bin, /templates, /pub and /data are writable for server user.
If you have free time, you can log in my sourceforge project to check the point where the problems are. Please run Winscp and then input username "opencourse,campus" , password "51click" ,sign in to web.sourceforge.net. the configuration page is at http://campus.sourceforge.net/cgi-bin/configure, feel free to modify the path setting to make the system work.
Any advice is appreciated, thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的问题的答案的开头是,当您复制文件时,您还没有开始配置它。
我进入配置页面,并设置管理密码(为“51click”) - 然后您看到的第一件事是,它是基本的必要配置数据 - 所有与数据相关的数据都有错误:
错误:目录不存在
这就是 %NOT SET% 试图告诉你的。
我确实认为您需要立即更改密码,因为您的项目将面临各种各样的问题。
我建议您阅读安装文档。
嗯,相关说明 - twiki 的开发者(我就是其中之一)都分叉到 http://foswiki.org -但我认为同样奇怪的“未配置”情况也会发生(至少在我为它创建一个任务之前:)
Sven
(给我发电子邮件 - [email protected] 如果您需要更多,我只会停止偶尔来这里)
the begining of the answer to your question, is that while you've copied the files, you have not begun to configure it.
I went to the configure page, and set the admin pwd (to '51click') - and the first thing you're then presented with, its the basic necessary configuration data - and all the data related ones have the error:
Error: Directory does not exist
Which is what the %NOT SET% is trying to tell you.
I do think you need to change your passwords now as you're exposing your project to all sorts of problems.
I suggest you read the installation documentation.
mmm, on a related note - the developers of twiki (I was one) all forked to http://foswiki.org - but I recon the same odd 'unconfigured' situation will happen (at least until i go create a task for it :)
Sven
(email me - [email protected] if you need more, i only stop by here once in a while)