补充:此方法比较low、
推荐伪静态:http://www.cnblogs.com/CyLee/p/5544119.html
找到路径C:AppServApache24confhttpd.conf
DocumentRoot "C:/AppServ/www"
将路径改为你希望默认localhost:XXXX指定的路径即可
或者在最后加入
<VirtualHost *:9090>
DocumentRoot "E:AppServwwwshop"
ServerName shenyi.com
ServerAlias
</VirtualHost>
<Directory "E:AppServwwwshop">
Options FollowSymLinks
Allow from all
Order Allow,Deny
AllowOverride All
Satisfy all
</Directory>