Deploy in other url

Hi. When I publish the application in my site, I want to do it in another route, that is / mysite. My site runs on apache on an ubuntu server, I configure the .service file, pointing to the path / mysite http: // localhost: 5000 /, and it shows the initial page and in the console it is seen that it loads the javascript files well, but try to login, get the error 404 Not Found, the path is seen at http: // mydomain / mysite / auth / login, but it does not work. What should I change to be able to publish in a different route to the root route, in ubuntu and in apache? Thanks

You have to set the base href option to /mysite. This is available in the deploy settings screen (if you are using Radzen Professional) or has to be specified during build time otherwise.

Hi, so I specifed it when deploying in in professional radzen: /mysite. On the ubuntu apache server, the proxy configured it like this:
<VirtualHost *: 80>
ProxyPreserveHost On
ProxyPass /mysite http://127.0.0.1:5000/
ProxyPassReverse /mysite http://127.0.0.1:5000/
ErrorLog /var/log/apache2/aspnetcoredemo-error.log
CustomLog /var/log/apache2/aspnetcodedemo-access.log common
</ VirtualHost>

The initial site works, but I try to login, this error comes out:
http://www.mydomain.com/mysite/auth/login
Request Method: POST
Status Code: 404 Not Found