免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: timdcn
打印 上一主题 下一主题

链接跳转? [复制链接]

一路征程一路笑 该用户已被删除
31 [报告]
发表于 2010-07-28 16:11 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
32 [报告]
发表于 2010-07-28 16:28 |只看该作者
在http.conf文件里没有配置/sandbox/www,
twiki.conf大致是这样的:
  1. <Directory "/var/www/html/twiki5/bin">
  2.         AllowOverride None
  3.         Order Allow,Deny
  4.         Allow from all
  5.         Deny from env=blockAccess

  6.         Options ExecCGI FollowSymLinks
  7.         SetHandler cgi-script

  8.         # Password file for TWiki users
  9.         AuthUserFile /var/www/html/twiki5/data/.htpasswd
  10.         AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith)'
  11.         AuthType Basic

  12.         # File to return on access control error (e.g. wrong password)
  13.         # By convention this is the TWikiRegistration page, that allows users
  14.         # to register with the TWiki. Apache requires this to be a *local* path.
  15.         # Comment this out if you setup TWiki to completely deny access to TWikiGuest
  16.         # in all webs or change the path to a static html page.
  17.         ErrorDocument 401 /twiki5/bin/view/TWiki/TWikiRegistration
  18.         # Alternatively if your users are all known to be registered you may want
  19.         # to redirect them to the ResetPassword page.
  20.         # ErrorDocument 401 /twiki5/bin/view/TWiki/ResetPassword

  21. # Limit access to configure to specific IP addresses and or users.
  22. # Make sure configure is not open to the general public.
  23. # The configure script is designed for administrators only.
  24. # The script itself and the information it reveals can be abused by
  25. # attackers if not properly protected against public access.
  26. # Replace JohnDoe with the login name of the administrator
  27. <FilesMatch "^configure.*">
  28.         SetHandler cgi-script
  29.         Order Deny,Allow
  30.         Deny from all
  31.         Allow from 127.0.0.1 192.168.21.56 192.168.21.51 all
  32.         Require user admin
  33.         Satisfy Any
  34. </FilesMatch>
复制代码
一路征程一路笑 该用户已被删除
33 [报告]
发表于 2010-07-28 16:40 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
34 [报告]
发表于 2010-07-28 16:41 |只看该作者
是啊
一路征程一路笑 该用户已被删除
35 [报告]
发表于 2010-07-28 16:55 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
36 [报告]
发表于 2010-07-28 17:12 |只看该作者
  1. Stopping httpd:                                            [  OK  ]
  2. Starting httpd: [Wed Jul 28 17:10:10 2010] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1020 will probably never match because it overlaps an earlier Alias.
复制代码
一路征程一路笑 该用户已被删除
37 [报告]
发表于 2010-07-28 17:23 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
38 [报告]
发表于 2010-07-28 17:24 |只看该作者
  1. Alias /twiki/ /store/www/twiki/
复制代码

论坛徽章:
0
39 [报告]
发表于 2010-07-28 17:26 |只看该作者
  1. Alias /twiki/ /store/www/twiki/
  2. RewriteEngine On
  3. RewriteCond %{HTTP_HOST} ^tiger$
  4. RewriteCond %{HTTP_HOST} ^tiger.hengsoftware.cn$
  5. RewriteRule /twiki/(.*)  http://tiger.uniquesoft.cn/twiki/$1 [R]
  6. RewriteRule /bugzilla/(.*)  http://tiger.uniquesoft.cn/bugzilla/$1 [R]
复制代码
我的documentroot是/store/www/html
我的bugzilla放在/store/www/html下面,也没法跳转
一路征程一路笑 该用户已被删除
40 [报告]
发表于 2010-07-28 17:36 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP