ผมมี Code ของ apache อยู่แบบนี้
RewriteEngine on
RewriteBase /website/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?route=$1 [L]
ไม่ทราบว่าจะแปลงให้เป็นของ nginx ยังงัยครับ…
ขอบคุณมากครับ…
ผมมี Code ของ apache อยู่แบบนี้
RewriteEngine on
RewriteBase /website/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?route=$1 [L]
ไม่ทราบว่าจะแปลงให้เป็นของ nginx ยังงัยครับ…
ขอบคุณมากครับ…
google มีทุกอย่างถ้ารู้จักหา
https://sivel.net/2008/09/apache-to-nginx/#comment-1239
โดยเฉพาะ THT