我有一个这样安排的网站:
/关于
/css/
/index/index.php
/js/
/index.php
index.php 使用 PHP 重定向到 index/index.php
我想创建一个 .htaccess 重写规则,以便在访问根目录时显示 /index/index.php 但 /about 等保持不变。
我有一个这样安排的网站:
/关于
/css/
/index/index.php
/js/
/index.php
index.php 使用 PHP 重定向到 index/index.php
我想创建一个 .htaccess 重写规则,以便在访问根目录时显示 /index/index.php 但 /about 等保持不变。