apache 설정
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^.]+)$ $1.php [L]
nginx 설정
try_files $uri $uri/ $uri.php?$args;