Home  >  Article  >  Backend Development  >  nginx停的重定向配置

nginx停的重定向配置

WBOY
WBOYOriginal
2016-06-13 11:20:581094browse

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
Statement:
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