首页 > 开发 > Apache > 正文

apache .htaccess Zend Framework rewrite规则

2020-10-12 18:51:01
字体:
来源:转载
供稿:网友

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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表