apache 配置支持php的zend framework 需要进行以下设置
1、设置apache的 AllowOverride All 最好搜索AllowOverride都设置为All
2、设置.htaccess但是其中不要包含Order allow,deny
\httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
#Deny from all
Satisfy all
Allow from all
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName *
DocumentRoot "/htdocs"
<Directory "/htdocs">
Options All 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 All
Order Deny,Allow
Allow from all
php_admin_value safe_mode On
</Directory>
</VirtualHost>
\.htaccess
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css|php)$ index.php
php_flag magic_quotes_gpc off
php_flag register_globals off