2009-10-05 112 views

回答

6

您需要锚匹配URL的开始:

# If you're using .htaccess 
RewriteRule ^pc/$ /pc.php 

# If you're using httpd.conf 
RewriteRule ^/pc/$ /pc.php