Apache:非法覆盖选项FileInfo

我已经安装了一个新的Ubuntu 12.04服务器,并设置了Apache和MySQL。

我只是试图复制我现有的服务器中所遇到的问题,并遇到了一个单一的问题。 – > FileInfo

在以下两个文件中:

/etc/apache2/sites-available/default-ssl /etc/apache2/sites-available/default 

我需要添加一些覆盖的Apache服务器。

原版的:

 <Directory /var/www/MySite> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> 

新:

 <Directory /var/www/MySite> Options Indexes FollowSymLinks MultiViews AllowOverride FileInfo, Indexes Order allow,deny allow from all </Directory> 

我已经为Apache安装了以下mod:

 sudo apt-get install lamp-server^ -y sudo apt-get install apache2.2-common apache2-utils openssl openssl-blacklist openssl-blacklist-extra -y sudo apt-get install curl libcurl3 libcurl3-dev php5-curl -y sudo apt-get install php5-tidy -y sudo apt-get install php5-gd -y sudo apt-get install php-apc -y sudo apt-get install memcached -y sudo apt-get install php5-memcache -y sudo a2enmod ssl sudo a2enmod rewrite sudo a2enmod headers sudo a2enmod expires sudo a2enmod php5 

所以,当我用AllowOverride None重启时,它一切正常。

 sudo /etc/init.d/apache2 restart * Restarting web server apache2 ... waiting [OK] 

但只要我将AllowOverride更改为FileInfo,索引

 Syntax error on line 11 of /etc/apache2/sites-enabled/000-default: Illegal override option FileInfo, Action 'configtest' failed. The Apache error log may have more information. ...fail! 

我在error.log中看不到任何exception

 [Wed Jun 06 08:23:51 2012] [notice] caught SIGTERM, shutting down [Wed Jun 06 08:23:52 2012] [warn] RSA server certificate CommonName (CN) `mySite.com' does NOT match server name!? [Wed Jun 06 08:23:52 2012] [warn] RSA server certificate CommonName (CN) `mySite.com' does NOT match server name!? [Wed Jun 06 08:23:52 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.1 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations 

我得到这个警告,因为它是一个testing服务器,但是我得到了与AllowOverride无相同的警告,但它正确地重新启动Apache服务器。 所以这个警告应该是无害的。

我错过了什么吗?

谢谢,

覆盖列表中不应该有逗号。 它应该是

 AllowOverride FileInfo Indexes