LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{ Referer }i -> %U" referer
LogFormat "%{ User-agent }i" agent
//指定访问日志的纪录式为combined(混合型),并指定访问日志存放位置
# CustomLog logs/access_log common
CustomLog logs/access_log combined
#CustomLog logs/referer_log referer
#CustomLog logs/agent_log agent
#CustomLog logs/access_log combined
//设置apache自己产生的页面中使用apache服务器版本的签名
ServerSignature On
//设置内容协商目录的访问别名
Alias /icons/ "/var//icons/"
//设置/var//icons/的访问权限
<Directory "/var//icons">
//MultiViews 使用内容协商功决定被发送的网页的性质
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
//设置网页邮件服务
Alias /webmail "/usr/share/squirrelmail"
<Directory "/usr/share/squirrelmail">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
//设置apache手册的访问别名
Alias /manual "/var//manual"
<Directory "/var//manual">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
//指定D加锁文件的存放位置
<IfModule mod_dav_fs.c>
# Location of the WebD lock database.
DLockDB /var/lib/dav/lockdb
</IfModule>
Alias /docs"/home/EMU/webmail/docs/"
<Directory "/home/EMU/webmail/docs">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_dav_fs.c>
# Location of the WebD lock database.
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-37075-3.html
如果治不好就只能抹去
它仍然会嬉皮笑脸的试探
忍无可忍