找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
积分等级发帖收益的说明江阴论坛帮助汇总江阴论坛管理规则(必看)江阴论坛版主招聘中江阴论坛已运行
查看: 2521|回复: 0

[技术分享] LiteSpeed 开启 .htaccess rewrite 及其他功能

[复制链接]
发表于 2011-8-27 09:45:55 | 显示全部楼层 |阅读模式
LiteSpeed 一大优势当然是支持 Apache .htaccess 重写,相当给力。

如果你还没有安装,那么可以看上一篇中的安装配置教程。

默认安装后是没有开启rewrite功能的,开启的方法是这样

进入后台管理页面 Configuration ->Server

在HT Access 这一栏中点 Edit 勾选FileInfo 这个选项 点Save 然后重启就OK了。

    When Limit is checked, directives "Order", "Allow from" and "Deny from" are allowed.
    当 Limit选项被选中,"Order", "Allow from" and "Deny from" 这些指令将被允许使用。
    When Auth is checked, directives "AuthGroupFile", "AuthName", "AuthType", "AuthUserFile", "Require" are allowed.
    当 Auth 选项被选中 ,"AuthGroupFile", "AuthName", "AuthType", "AuthUserFile", "Require" 这些指令将被允许使用。主要用于做身份验证。
    When FileInfo is checked, directives "Satisfy", AddDefaultCharset", "AddType", "DefaultType", "ForceType", "ExpiresActive", "ExpiresDefault", "ExpiresByType", "Redirect", "RedirectTemp", "RedirectPermanent", "RewriteEngine", "RewriteOptions", "RewriteBase", "RewriteCond" and "RewriteRule" are allowed
    当 FileInfo 选项被选中,^^^^ 允许重写命令
    When Indexes is checked, directive "DirectoryIndex" is allowed
    When Options is checked, directive "Options" is allowed
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|江阴人家

GMT+8, 2024-4-19 19:02 , Processed in 0.017597 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表