peizhi
VirtualHost *:80 br / ServerName xxx.com br / DocumentRoot project_dir br / br / Location / br / AddDefaultCharset utf-8 br / RewriteEngine on br / RewriteCond %{REQUEST_FILENAME} !-f br / RewriteCond %{REQUEST_FILENAME} !-d br / RewriteRule
<VirtualHost *:80>
ServerName xxx.com
DocumentRoot project_dir
<Location />
AddDefaultCharset utf-8
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
</Location>
</VirtualHost>
ServerName xxx.com
DocumentRoot project_dir
<Location />
AddDefaultCharset utf-8
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
</Location>
</VirtualHost>
<?php
- 上一篇:纯php代码实现伪静态的方法
- 下一篇:获取首字符的拼音首字母
精彩图集
精彩文章