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

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Apache reverse proxy issue one server, multiple ports

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
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>
[code]
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1