tmighty
tmighty

Reputation: 11409

Absolute path captured in subdirectory

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

Upvotes: 0

Views: 65

Answers (1)

tmighty
tmighty

Reputation: 11409

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

Upvotes: 0

Related Questions