我想将 test.com 重写为 test.com/context。
浏览器返回重定向递归错误。
有人有线索吗?
我把下面的httpd-vhosts.conf。
<VirtualHost *:80>
ServerName test.com
JkMount /* mschoi
ErrorLog logs/mschoi-error_log
CustomLog logs/mschoi-acces_log common
RewriteEngine On
RewriteRule ^/(.*)$ /context/$1 [L,R]
</VirtualHost>
httpd.conf
Include conf/extra/httpd-vhosts.conf