Apache 重定向-/删除

Apache 重定向-/删除,apache,redirect,virtualhost,Apache,Redirect,Virtualhost,我正在尝试在apache Web服务器上实现重定向。为此,我添加了一个虚拟主机,如下所示: <VirtualHost *:80> ServerName boscarato.eu Redirect permanent / https://boscarato.eu </VirtualHost> ServerName boscarato.eu 重定向永久/https://boscarato.eu 它在我键入http/boscarato.eu时工作,因为它会

我正在尝试在apache Web服务器上实现重定向。为此,我添加了一个虚拟主机,如下所示:

<VirtualHost *:80>
    ServerName boscarato.eu
    Redirect permanent / https://boscarato.eu
</VirtualHost>

ServerName boscarato.eu
重定向永久/https://boscarato.eu
它在我键入http/boscarato.eu时工作,因为它会将我重定向到,但如果我尝试移动到另一个目录,例如,它会删除域后的“/”。有人知道问题出在哪里吗