Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Apache reverse proxy issue one server, multiple ports |
|
Author |
|
deathscythe272
Joined: 14 Jan 2019 Posts: 1 Location: Sedalia
|
Posted: Mon 14 Jan '19 18:58 Post subject: Apache reverse proxy issue one server, multiple ports |
|
|
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: 7288 Location: Germany, Next to Hamburg
|
Posted: Thu 02 May '19 15:58 Post subject: |
|
|
What is the condition? We need to know to help you. |
|
Back to top |
|
|
|
|
|
|