logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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, RHEL7, and reverse proxy
Author
Centurion030



Joined: 24 Jan 2018
Posts: 2
Location: USA, Goose Creek

PostPosted: Wed 24 Jan '18 21:54    Post subject: Apache, RHEL7, and reverse proxy Reply with quote

I already have httpd installed on my RHEL7 server. I am essentially duplicating the functions of an existing Server 2008 running Apache/2.4.23 (Win64) OpenSSL/1.0.2j.

My httpd version is 2.4.65 and my RHEL is 7.4. I need to setup this as a reverse proxy and nothing more. I am seeing different filenames mentioned for the configuration file that I need to modify for the reverse proxy to work.

Respectfully,

James
Back to top
James Blond
Moderator


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

PostPosted: Thu 08 Feb '18 16:15    Post subject: Reply with quote

Code:

<VirtualHost *:80>
    ServerName example.com
    DocumentRoot "/mario/Apache24/htdocs"
    <Directory "/mario/Apache24/htdocs">
        Options Indexes Includes FollowSymLinks
        AllowOverride All
        Require all grated
    </Directory>
    <Location />
        ProxyPass http://192.168.0.1/
        ProxyPassReverse http://192.168.0.1/
    </Location>

</virtualhost>
Back to top
Centurion030



Joined: 24 Jan 2018
Posts: 2
Location: USA, Goose Creek

PostPosted: Sun 11 Feb '18 7:17    Post subject: Apache, RHEL7, and reverse proxy Reply with quote

I will try this.

Thank you.
Back to top


Reply to topic   Topic: Apache, RHEL7, and reverse proxy View previous topic :: View next topic
Post new topic   Forum Index -> Apache