win下apache 泛解析后重写失效是神马问题?

Dorje 发布于 2013/08/14 11:11
阅读 118
收藏 0


<VirtualHost *:80>

    ServerAdmin aa@leooff.cn
    DocumentRoot "D:/www/leo"
    ServerName leooff.cn
    ServerAlias *.leooff.cn
    Alias /resource/ "D:/www/leo/resource/"
    UseCanonicalName Off
    VirtualDocumentRoot D:/www/leo/%-3/webroot   
    <Directory "D:/www/leo">
   Options FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
    </Directory>
  # 省市API
  RewriteRule ^/?provinces/([1-9]?[0-9])/cities/?$ /provinces.php?province_id=$1 [NE]
  RewriteRule ^/?provinces/?$ /provinces.php [NE]
</VirtualHost>
加载中
返回顶部
顶部