I enabled the.Htaccess Apache feature. For my localhost wamp it works, because ErrorDocument 404 effect,but it seems only RewriteRule doesn't effect,Is there a problem I have written??And how to write the statement that be Annotated?Thanks a lot! These urls are not working:
- RewriteCond %{HTTP_HOST} !^www.163.com [NC]
RewriteRule ^/(.*)$ http://www.163.com/ [L]
1.RewriteRule ^http://localhost/app/track/([0-9]+)$ /index.php?app=$1
2.RewriteRule ^http://localhost/app/track/123$ /index.php?app=123