Apache 未考虑mod_重写

Apache 未考虑mod_重写,apache,mod-rewrite,Apache,Mod Rewrite,我安装了Apache/2.4.46,并激活了mod_rewrite。 我已在配置中输入: <IfDefine REWRITE> LogLevel alert rewrite:trace3 RewriteEngine on RewriteRule "^/Tst/(.*)" "http://bpi.chez.moi:8000/~laurent/$1" [R] </IfDefine> 但是我正在尝试访问这个URL,我仍然可以访问我的初

我安装了Apache/2.4.46,并激活了mod_rewrite。 我已在配置中输入:

<IfDefine REWRITE>
LogLevel alert rewrite:trace3

RewriteEngine on
RewriteRule "^/Tst/(.*)" "http://bpi.chez.moi:8000/~laurent/$1" [R]
</IfDefine>
但是我正在尝试访问这个URL,我仍然可以访问我的初始服务器,而不是目标服务器。 日志中没有任何内容:(

知道我错在哪里吗

洛朗

Module Name: mod_rewrite.c
Content handlers: yes
Configuration Phase Participation: Create Directory Config, Merge Directory Configs, Create Server Config, Merge Server Configs
Request Phase Participation: Translate Name, Fixups, Content Handlers
Module Directives:
    RewriteEngine - On or Off to enable or disable (default) the whole rewriting engine
    RewriteOptions - List of option strings to set
    RewriteBase - the base URL of the per-directory context
    RewriteCond - an input string and a to be applied regexp-pattern
    RewriteRule - an URL-applied regexp-pattern and a substitution URL
    RewriteMap - a mapname and a filename and options
Current Configuration:
    In file: /etc/apache2/modules.d/00_mod_rewrite.conf
       5: RewriteEngine on
       6: RewriteRule "^/Tst/(.*)" "http://bpi.chez.moi:8000/~laurent/$1" [R]