Apache
RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] ErrorDocument 404 /404/
Nginx
location / { index index.php index.html index.htm; try_files $uri $uri/ /index.php?$args; } location /operator/ { try_files $uri $uri/ /operator/index.php?$args; }
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容