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) |