0
내가 nginx에에 새로 온 사람
을 nginx에 위해되는 index.php,하지만 난변환 htaccess로 규칙은
# Disallows file browsing
Options -Indexes
# Custom Error Pages
ErrorDocument 403 /error-docs/403.php
ErrorDocument 404 /error-docs/404.php
ErrorDocument 500 /error-docs/500.php
# Turn on the Apache Rewrite Engine
RewriteEngine On
#Conditional to see if it is a real file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# If not then pass the query string to index.php and stop any further rules
RewriteRule (.*) index.php/$1 [PT,L]
구문을 nginx에로 변환 할 노력하고있어. 나는 Routing requests through index.php with nginx에 제안을 시도했다 그러나 나가 그것을하기 위하여 필요로하는 무슨을 확실히하지 않는다. 나는 또한 자동차 컨버터 http://winginx.com/en/htaccess과 http://www.anilcetin.com/을 시도했지만 출력 한 규칙이 나를 위해 작동하지 않는다. 어떤 도움을 주셔서 감사합니다.
http://stackoverflow.com/questions/14927184/converting-htaccess-to-nginx-mod-rewrite/14967560#14967560 – regilero