【发布时间】:2017-01-24 23:23:06
【问题描述】:
我的 .htaccess 代码 它仍然在链接中显示文件名(http://localhost/examp/myproj(urlrouting)/signup.php) 但是在点击注册时,我希望链接是(http://localhost/examp/myproj(urlrouting)/SignUp) 使用 xampp
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^index index.php
#RewriteRule ^test/([(A-za-z0-9)]+) test.php?test=$1
RewriteRule ^SignUp signup.php
【问题讨论】:
标签: javascript php html css web