开启伪静态 jhxf888.com

问:[ IIS ]        如果你的服务器环境支持ISAPI_Rewrite的话,可以配置httpd.ini文件,添加下面的内容:

RewriteRule (.*)$ /index\\.php\\?s=$1 [I]复制代码       在IIS的高版本下面可以配置web.Config,在中间添加rewrite节点:

<rewrite><rules><rule name="OrgPage" stopProcessing="true"><match url="^(.*)[        DISCUZ_CODE_1        ]quot; /><conditions logicalGrouping="MatchAll"><add input="{HTTP_HOST}" pattern="^(.*)[        DISCUZ_CODE_1        ]quot; /><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="index.php/{R:1}" /></rule></rules></rewrite>
,开启伪静态 jhxf888.com

答:您好,您是使用的iis7 伪静态设置方法是上传web.config文件到站点根目录,目前使用您提供的规则设置了web.config,请您核实是否正常,非常感谢您长期对我司的支持!

问:[ IIS ]        如果你的服务器环境支持ISAPI_Rewrite的话,可以配置httpd.ini文件,添加下面的内容:

RewriteRule (.*)$ /index\\.php\\?s=$1 [I]复制代码       在IIS的高版本下面可以配置web.Config,在中间添加rewrite节点:

<rewrite><rules><rule name="OrgPage" stopProcessing="true"><match url="^(.*)[        DISCUZ_CODE_1        ]quot; /><conditions logicalGrouping="MatchAll"><add input="{HTTP_HOST}" pattern="^(.*)[        DISCUZ_CODE_1        ]quot; /><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="index.php/{R:1}" /></rule></rules></rewrite>

答:您好,您是使用的iis7 伪静态设置方法是上传web.config文件到站点根目录,目前使用您提供的规则设置了web.config,请您核实是否正常,非常感谢您长期对我司的支持!

更多关于云服务器域名注册虚拟主机的问题,请访问西部数码官网:www.west.cn
赞(0)
声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-62778877-8306;邮箱:fanjiao@west.cn。本站原创内容未经允许不得转载,或转载时需注明出处:西部数码知识库 » 开启伪静态 jhxf888.com

登录

找回密码

注册