• Apache httpd.conf - Virtual hosts port

    From altugtekin85@gmail.com@21:1/5 to All on Mon Jan 11 00:34:52 2016
    I have an Apache Webserver running, which is reachable over the ip/port-combination 123.456.789:9000 from my browser.

    Also I have a GitLab instance running on the ip/port-combination 123.456.789:8888 and a GitLab module named KanBan on 123.456.789:8889.

    If someone requests the website 123.456.789:9000/gitlab I want the Apache Webserver to route the request to 123.456.789:8888.

    Respectively If someone requests 123.456.789:9000/kanban I want the Apache Webserver route to 123.456.789:8889.

    So instead of opening the ports 8888 and 8889 directly I want the Apache Webserver to function as a tunnel, which binds the two adresses to different ports internally while the ip remains the same.

    I read that this kind of configuration is done inside httpd.conf and involses adding so called virtual hosts therein. Also it could involve some Linux specific routing via bind command.

    Is this correct and if so can someone point me in the right direction of how to adpat the httpd.conf file?

    If this is not possible how could I nevertheless configure it on my CentOs 7.1 Server?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)