# Can't access backend applications without adding extension

**URL:** <https://discourse.haproxy.org/t/cant-access-backend-applications-without-adding-extension/6273>\
**Category:** Help!\
**Created:** [February 22, 2021, 6:31pm UTC](https://discourse.haproxy.org/t/cant-access-backend-applications-without-adding-extension/6273 "2021-02-22T18:31:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mbah](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/mbah/32/1393_2.png) [@Mbah](https://discourse.haproxy.org/u/Mbah)\
**Post date:** [February 22, 2021, 6:31pm UTC](https://discourse.haproxy.org/t/cant-access-backend-applications-without-adding-extension/6273/1 "2021-02-22T18:31:52Z")

</div>

Hello All,  
I have my HAProxy server with cluster service running good, I suddenly noticed this problem…  
With Apache, it is possible to add the name of the published directory in the backend server link, which allows this name to be removed when calling the URL via the published name.

With the configuration below APACHE, you can access the application by entering the url [https://permisapoint.nstb.cm](https://permisapoint.nstb.cm) without needing to add “/ permetapoint /”

Example:  
\<VirtualHost \*:443\>

```
            RequestHeader set X-Forwarded-Proto "https"
            ServerName permisapoint.nstb-cm.com
            ServerAlias permisapoint.nstb.cm
            ServerAdmin hotline@nstb-cm.com

            ProxyPass / http://nstbperm601.nstb.cm/permisapoint/ retry=0
            ProxyPassReverse / http://nstbperm601.nstb.cm/permisapoint/

```

With the configuration below of HAPROXY, it is not possible to access the application with the url [https://permisapoint.nstb.cm](https://permisapoint.nstb.cm) and it is always necessary to add “/ permetapoint /”

backend webapps-permis  
balance roundrobin  
mode http  
http-request set-header X-forwarded-Port %[dst\_port]  
http-request add-header X-Forwarded-Proto https if { ssl\_fc }  
#option httpchk HEAD / HTTP/1.1rnHost:localhost  
server app03 nstbperm601.nstb.cm:80/permisapoint/ check

I want a configuration of HAPROXY that allows us to have the behavior just like that of APACHE
