NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
### 伪静态配置 * Apache 根目录的.htaccess文件内容是: ``` <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] </IfModule> ``` * Nginx ``` location / { rewrite ^/index\.php$ - last; if (!-e $request_filename){ rewrite ^(.*)$ /index.php?/$1 last; } } location ^~ /protected/ { deny all; } ```