Apache Web Server(独立主机用户)
- <IfModule mod_rewrite.c>
- RewriteEngine On
- </IfModule>
- # 将 RewriteEngine 模式打开
- RewriteEngine On
- # 修改以下语句中的 /discuz 为你的论坛目录地址,如果程序放在根目录中,请将 /discuz 修改为 /
- RewriteBase /discuz
- # Rewrite 系统规则请勿修改
- [ISAPI_Rewrite]
- # 3600 = 1 hour
- CacheClockRate 3600
- RepeatLimit 32
- # Protect httpd.ini and httpd.parse.errors files
- # from accessing through HTTP
- <rewrite>
- <rules>
- </rules>
- </rewrite>
- Zeus Web Server
- Nginx Web Server
- if (!-e $request_filename) {
- return 404;
- }