合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
### 伪静态配置 * 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; } ```