Chinaunix首页 | 论坛 | 博客
  • 博客访问: 657751
  • 博文数量: 780
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 4885
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-22 16:14
文章分类

全部博文(780)

文章存档

2008年(780)

我的朋友

分类: LINUX

2008-08-22 16:27:50


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 下载本文示例代码
阅读(416) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~