Proxying

Discussion in 'Apache' started by oscer803, Feb 1, 2010.

  1. #1
    Hi. I'm an apache noob and can't get my setup to work. I'm working on osx 10.6 and with apache 2.2.13.

    I have some servers running on different instances and ports witch I want to access through sub-directories. All things will be run on the same machine.

    My servers now are accessed like:
    • http://localhost:8080
    • http://localhost:8090

    But I want to access them like:
    • http://www.myownsite.com/localhost1
    • http://www.myownsite.com/localhost2

    I've successfully manage to do this setup with proxypass och proxypassreverse directives before, but for some reason this won't work with these servers. Maybe the server applications use hardcoded url:s, so I need some kind of work-around for this? The servers I'm trying to host is ensembl-servers (www.ensembl.org).

    The computer will be used in different networks and due to this, it will not have a static domain-name. Thats why I want to be able to access the servers from IP/subdirectorie instead of subdomains.

    Does anyone have some sort of super-solution for this?

    Best regards,
    Oscar Eriksson
     
    oscer803, Feb 1, 2010 IP