ECϵͳ¼ECɷɽ޹˾һ׻PHP+MYSQLϵͳ

ECһѡԴϵͳװʹáӵ֮ǰһЩʹЭ飺

1ϽȥECصİȨϢ̨ǰ̨ȥ

2ECĿͶɹϽʹñϵͳתۻοת۵ҵΪ

3עECٷ˽ƷѯBUG޸


ٷַhttp://www.yunec.cn   ٷQQȺ51715137


ECϵͳװҪ

1PHP5.3汾ϣ֧PHP7.0

2MYSQL5.0汾

3֧rewriteα̬

4֧pdo_mysqlģʽ


α̬

APACHE£

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)\.html$ /index.php?p=$1&%{QUERY_STRING} [L]


nginx¹

rewrite ^/([^\.]*).html$ /index.php?p=$1 last;
rewrite ^/([^\.]*)/$ /index.php?p=$1 last;
rewrite ^/(.*).php$ /index.php last;


IIS 7

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="yunec">
                    <match url="(.*).html" ignoreCase="true" negate="false" />
                    <action type="Rewrite" url="index.php?p={R:1}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>


װ裺

1ѹϴ upload ļռ䣬ǸĿ¼

2ַ http:/// аװ

3̨»   ַ̨http:///admin.html



