0
최근 아파치에서 Nginx 웹 서버로 옮겼습니다. 그러나 스크립트는 제대로 작동하지 않는 다시 쓰기 규칙 때문에 문제가있는 것으로 보입니다. 내가 winginx.com을 시도했습니다htaccess to nginx 다시 쓰기 규칙
, 정말 재 작성은 다음과 같다
을 작동하지 않습니다하지만 nginx에 할 htaccess로에서 변환을 제공하는 웹 사이트 :
RewriteRule ^people/([0-9]+)$ people.php?p=$1 [NC,L]
RewriteRule ^user/([0-9]+)$ profile.php?id=$1 [NC,L]
RewriteRule ^user/([0-9]+)/photo_upload$ profile.php?id=$1&photo_upload=true [NC,L]
RewriteRule ^index.php?login/?$ index.php?login [NC,L]
RewriteRule ^visitors/?$ visitors.php [NC,L]
일부 전문가의 도움이 될 것이다 크게 감상 할 수있다, 당신에게