nginx停的重定向配置

WBOY
Release: 2016-06-13 11:20:58
Original
1082 people have browsed it

nginx下的重定向配置
在apache下运行正常。但移到nginx下就不正常了。不知要怎么配置?
以下是.htaccess内容:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]



不知在nginx.conf里要怎么配置才能正常????

Nginx Apache php?
------解决方案--------------------
http://www.ccvita.com/319.html
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!