多了一个 "/",怎么样才能让系统自动加上 “/”呢WINDOWS是自动加的,linux我还真不知道不晓得是不是配置文件的这个部分 # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # Alias /icons/ "/apache/icons/" <Directory "/apache/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory>这个是有关虚拟目录的设置,改一下<directory 里的参数看看
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
Alias /icons/ "/apache/icons/" <Directory "/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>这个是有关虚拟目录的设置,改一下<directory 里的参数看看