Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1399817
  • 博文数量: 828
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5030
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-29 13:29
文章分类

全部博文(828)

文章存档

2011年(1)

2008年(827)

我的朋友

分类: LINUX

2008-08-29 13:36:19

 
benben@benben-desktop:/$sudogedit/etc/apache2/sites-enabled/000-default
LaunchingaSCIMdaemonwithSocketFrontEnd...
LoadingsimpleConfigmodule...
Creatingbackend...
LoadingsocketFrontEndmodule...
StartingSCIMasdaemon...
GTKPanelofSCIM1.4.4


NameVirtualHost*

ServerAdminwebmaster@localhost

DocumentRoot/var/www

OptionsFollowSymLinks
AllowOverrideNone


OptionsindexesFollowSymLinksMultiViews
AllowOverrideNone
Orderallow,deny
allowfromall
#Uncommentthisdirectiveisyouwanttoseeapache2''s
#defaultstartpage(in/apache2-default)whenyougoto/
#RedirectMatch^/$/apache2-default/


ScriptAlias/cgi-bin//usr/lib/cgi-bin/

AllowOverrideNone
Options ExecCGI-MultiViews SymLinksIfOwnerMatch
Orderallow,deny
Allowfromall


ErrorLog/var/log/apache2/error.log

#Possiblevaluesinclude:debug,info,notice,warn,error,crit,
#alert,emerg.
LogLevelwarn

CustomLog/var/log/apache2/access.logcombined
ServerSignatureOn

Alias/doc/"/usr/share/doc/"

OptionsIndexesMultiViewsFollowSymLinks
AllowOverrideNone
Orderdeny,allow
Denyfromall
Allowfrom127.0.0.0/255.0.0.0::1/128




去掉indexes

关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览关闭ubuntu的默认目录浏览
阅读(516) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~