<VirtualHost *:80>
ServerAdmin admin@163.com
DocumentRoot "e:/vedio"
ServerName 你的域名.net
ServerAlias 你的域名.net
DocumentRoot "e:/vedio"
<Directory "e:/vedio">
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml
AllowOverride Options FileInfo
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
这样就可以把措施放在非documentroot下面了~
克制目次欣赏
变动
Options Indexes FollowSymLinks
为
Options -Indexes FollowSymLinks