mod_rewrite 问题
我配置了一个virtualhost
<VirtualHost *:80>
ServerName www.moli.com
DocumentRoot "D:\jakarta-tomcat-5.5.9\webapps "
ErrorLog logs/moli_err_log/a.log
CustomLog logs/moli_log/b.log combinedio
<Directory "D:\jakarta-tomcat-5.5.9\webapps ">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
RewriteEngine on
#RewriteCond %{HTTP_HOST} !^(.*)/moli/(.*)$
RewriteRule ^/molimms(.*) /moli$1 [R]
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
</VirtualHost>
我希望访问 www.moli.com/molimms/* apache 会帮我改写成 www.moli.com/moli/*
大侠们帮我看看我哪里写错了
------解决方案--------------------顶!!
------解决方案--------------------真的看不懂啊