【发布时间】:2017-06-09 04:04:38
【问题描述】:
我想从http://www.domain.com/customer1 to /app/index.php?c=customer1 和http://www.domain.com/customer2 to /app/index.php?c=customer2 重定向
我尝试了以下规则但效果不佳...
RewriteRule ^customer1(.*)$ /app/index.php?c=customer1
【问题讨论】:
-
我想打开domain.com/customer1 和apache 重定向到:domain.com/app/index.php?c=customer_code