Datenschutz However, w" /> Datenschutz However, w" /> Datenschutz However, w"/>

Absolute path captured in subdirectory

65 Views Asked by At

In my html code I have the following:

 <md-button href="https://psy-sprechstunde.de/datenschutz.pdf" target="_blank">Datenschutz</md-button>

However, when I click the button, it redirects me to

https://psy-sprechstunde.de/docs/patient/img/datenschutzvereinbarung.pdf

Where is that set up?

I expected it be in my DocumentRoot.

The DocumentRoot is /var/www/html and not the folder that it redirects me to.

I didn't program this, my previous developer did.

Where is this redirection set up?

enter image description here

1

There are 1 best solutions below

0
tmighty On

I am not sure if that is really the cause of my problem, but I found out:

Express serves a different folder, so that seems to override the DocumentRoot.

The folder "public" that is shown in the screenshot is the folder that is actually seen as "DocumentRoot" for me.

enter image description here