| /PUBLIC/.htaccess 
 /public/web.config复制代码<IfModule mod_rewrite.c>
 Options +FollowSymlinks -Multiviews
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^(.*)$ index.php?s=$1 [QSA,PT,L]
</IfModule>
 复制代码<?xml version="1.0" ?>
<configuration>
        <location path="." allowOverride="false" inheritInChildApplications="false">
                <system.webServer>
                        <rewrite>
                                <rules configSource="web_config\rewrite.config"/>
                        </rewrite>
                        <defaultDocument configSource="web_config\default.config"/>
                        <httpErrors configSource="web_config\httpErrors.config"/>
                        <handlers configSource="web_config\php.config"/>
                </system.webServer>
        </location>
</configuration>
 
 |