在windows平台下安装 drupal一打开drupal目录的时候有时候会发生一个错误,500错误。查看记录文件时这么描述的
[Sat Apr 10 20:48:31 2010] [alert] [client 127.0.0.1] D:/green/APMServ5.2.6/www/htdocs/drupal/.htaccess: order not allowed here
[Sat Apr 10 20:48:32 2010] [alert] [client 127.0.0.1] D:/green/APMServ5.2.6/www/htdocs/drupal/.htaccess: order not allowed here
[Sat Apr 10 20:48:50 2010] [alert] [client 127.0.0.1] D:/green/APMServ5.2.6/www/htdocs/drupal/.htaccess: order not allowed here
[Sat Apr 10 20:49:04 2010] [alert] [client 127.0.0.1] D:/green/APMServ5.2.6/www/htdocs/drupal/.htaccess: order not allowed here
[Sat Apr 10 20:49:43 2010] [alert] [client 127.0.0.1] D:/green/APMServ5.2.6/www/htdocs/drupal/.htaccess: order not allowed here
[Sat Apr 10 20:49:49 2010] [alert] [client 127.0.0.1] D:/green/APMServ5.2.6/www/htdocs/drupal/.htaccess: order not allowed here
最后面我们修改htaccess文件
# Protect files and directories from prying eyes.
#<FilesMatch "/.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(/.php)?|xtmpl|svn-base)$|^(code-style/.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
# Order allow,deny
#</FilesMatch>