logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache reverse proxy issue one server, multiple ports
Author
deathscythe272



Joined: 14 Jan 2019
Posts: 1
Location: Sedalia

PostPosted: Mon 14 Jan '19 18:58    Post subject: Apache reverse proxy issue one server, multiple ports Reply with quote

Hello everyone,

I am very new to Apache reverse proxy and trying to figure out as I go. I am currently running a oracle Linux 6.8 OS. The Apache version I have is 2.4. I currently tell my server to listen on port 80 and it seems to be fine. For some reason however some traffic needs to be on 80 and some on 8080. My setup is currently conf.d/ and a bunch of configs under there. This is the conf file I am presently working with.Portal_Test. I was looking at a few things online and was thinking I could do something with the <virtuahost> am I on the right track?

<VirtualHost *:80>
code snipit

then do another
<VirtualHost *:80*)>

Code:

<Proxy *>
  Order deny,allow
  Allow from all
</Proxy>

<IfModule mod_proxy.c>
  ProxyRequests Off
  <Location /Portal_Test>
    ProxyPass http://server:80/Portal_Test
    ProxyPassReverse http://server:80/Portal_Test
    Order Deny,Allow
      Deny from all
### VPN ###
      Allow from <ip_addreses>
      Allow from <ip_addreses>
      Allow from <ip_addreses>
### UptimeRobot ###

  </Location>
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6684
Location: Germany, Next to Hamburg

PostPosted: Thu 02 May '19 15:58    Post subject: Reply with quote

What is the condition? We need to know to help you.
Back to top


Reply to topic   Topic: Apache reverse proxy issue one server, multiple ports View previous topic :: View next topic
Post new topic   Forum Index -> Apache