apache .htaccess Zend Framework rewrite规则
apache .htaccess Zend Framework rewrite规则
# Zend Framework rewrite规则
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php教程
# 安全性考虑:不允许列表目录内容
Options -Indexes
# PHP设置
php_flag magic_quotes_gpc off
php_flag register_globals off
php_flag short_open_tag on
补充:Php教程,apache