1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache getting pages from another port.

Discussion in 'Apache' started by drumltd, Apr 27, 2018.

  1. #1
    I have a raspberry pi, that is running a local webserver using apache, on the same machine I have some software that is controlled by a web interface but on a different port number on the same machine. Is there anyway that I can get apache to sort of proxy this interface into a sub directory. So that effectively any requests that a re received for say -http://raspberrypi.local/cctv are displaying results from what would be -http://localhost:8685

    I wondered if it could be done with mow_rewrite but wasn't entirely sure it was possible as it isn't actually apache that servers the cctv data?

    Thanks in advance.
     
    drumltd, Apr 27, 2018 IP
  2. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    230
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #2
    You should be able to achieve this with Apache mod_proxy instead of mod_rewrite.

    Please check their documentation for more details.
     
    RoseHosting, May 9, 2018 IP