alkacon / opencms-core

The Java open source content management system by Alkacon Software
http://www.opencms.org
GNU Lesser General Public License v2.1
525 stars 576 forks source link

Return 404 error if we access with /opencms/ in URL #785

Closed acastmae closed 6 months ago

acastmae commented 8 months ago

Hello

I have installed OpenCMS on my website and I have the following problem: If I want to access the front page, the URL would be the following: www.example.com/home/ But it also allows me to access if I type the following: www.example.com/opencms/home/

I would like to know if there is any way that you can not access if you enter the URL /opencms/ and you get a 404 error.

Thank you very much Best regards

gWestenberger commented 6 months ago

No. If you want to do that, you will have to do it in a reverse proxy which is sitting in front of Tomcat.