当前位置:首页 » 专业资讯
开发技术指南» 文章正文
    引言: 疑问:/etc/service的作用,在上面我没有加8888端口 也起作用。
 

 

 ·isolinux serial console keyboard issue    »显示摘要«
    摘要:hello list,i am trying to use the console to setup my machine.during boot i am able see the syslinux boot prompt onthe serial console *and* the monitor, but i can notuse the console keyboard. i can only use the keyboardthat is con......
 ·a simple proxy server code    »显示摘要«
    摘要:implement without following rfc1928.only for interest.             implement without following rfc1928.only for interest.  共有五个函数,main,parse_args,init_daemon,do_proxy,error_quit.pa......


apache

问题:如果把系统信息与apache信息 在下载的时候去掉。有看到用servertoken os,

关于limit与 squid配置 【相关文章:黑客帝国屏保

疑问:/etc/service的作用,在上面我没有加8888端口 也起作用。 【扩展阅读:hacker成长的代码之路:DoS

【扩展信息:NetBSD文档计划中文版

2005-04-11

1。遇到问题:(虚拟主机与用ip访问的问题)

apache在配置好虚拟主机后 原来的documentroot有用吗?

也就是说如果用ip访问时原来的documentroot还起作用吗?

现在做测试的结果是 如果有虚拟主机,那么原来的documentroot就没有用了

。即使用ip访问 也与域名一样

不对,不对

经过xmin的帮助,了解到,有了虚拟主机后,原来的documentroot确实不起作用,如果遇到用ip访问的情况,那么他返回的是第一个虚拟主机的内容。

******2005-04-12补充如下:

 经过对这个问题的测试,基本上是这样的,如果有了虚拟主机原来定义的documentroot就不再起作用 ,这个时候无论用虚拟主机的域名还是ip访问 返回的都是虚拟主机的documentroot,

 那么如果如果有多个虚拟主机的话 则对ip的访问都默认返回 第一个虚拟主机的配置。

 如果一定要ip访问的内容是原documentroot的内容,那么可以把第一个虚拟主机的documentroot指成 该documentroot,或者就分端口,但是一定不要忘记在加   listen ip:新端口,原来的也要标明是80

2。关于这个虚拟主机的多个故事

namevirtualhost 61.152.242.109:80

<virtualhost 61.152.242.109:80>

    serveradmin aaron_you@allhyes.com

    documentroot /home/www/allyes/adf/tools/aaron

<directory "/home/www/allyes/adf/tools/aaron">

options indexes followsymlinks

order deny,allow

deny from 61.152.242.107

allow from all

</directory>

    servername aaron.allyes.com

  #  errorlog logs/aaron.allyes.com-error_log

  #  customlog logs/aaron.allyes.com-access_log common

</virtualhost>

a。虚拟主机 必须有

namevirtualhost 61.152.242.109

虚拟主机的配置如果与原配置冲突,以虚拟主机的配置为准。但只对该虚拟主机生效

b。<directory "/home/www/allyes/adf/tools/aaron">

</directory>


...   下一页
 ·/dev/null丟失后    »显示摘要«
    摘要:事情是這樣的,一不小心把/dev/null刪掉了 系統文件/dev/null丟失怎麼辦呀 重啟時出現如下問題 /etc/rc.d/rc.sysinit:line 88: /dev/null: read-only file system /etc/rc.d/rc.sysinit:line 99: /dev/null: read-only file system configuring kernel parameters: dup2: bad file des......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE