Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7815317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:29:15+00:00 2026-06-02T05:29:15+00:00

Looking for some direction on how to configure Apache to serve files from a

  • 0

Looking for some direction on how to configure Apache to serve files from a different server. Not sure if that’s the correct terminology but bear with me.

The setup is as follows:

Virtualized Red Hat Enterprise - running Apache (Webserver)
Virtualized Red Hat Enterprise - running PHP (PHP)
(virtualized using vSphere 5.0)

The idea is that Apache handles external requests and forwards them to the PHP server where my PHP application is located. PHP would then “return” the result to Apache, which would serve the page back to the user.

What sort of protocol can accomplish this? Can it be done in Apache? The setup is done for security reasons (compromise at webserver level won’t permit access to PHP server and vice versa).

A push in the right direction would be a great help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T05:29:18+00:00Added an answer on June 2, 2026 at 5:29 am

    You can do this using Apache’s proxy functionality. For example:

    <VirtualHost *:80>
      ServerName myhostname
    
      <Location />
        ProxyPass http://address-of-php-server/
        ProxyPassReverse http://address-of-php-server/
      </Location>
    </VirtualHost>
    

    This will cause Apache to proxy requests that match this VirtualHost definition to your PHP application server and return the results to the client.

    This presumes that you have mod_proxy enabled. You’re actually running Apache on the “frontend” server and the “backend” server.

    There are a lot of good reasons for a setup like this, but it’s going to do more to protect the frontend server from vulnerabilities in your PHP code than it will the opposite.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for some direction on a script that I'd like to build. Essentially,
I am looking for Apache httpd directive, that would immediately return some plaintext content
I'm just looking for some direction when it comes to NHibernate and WCF. At
just looking for some general direction/best practice about when to use a lookup value
I am looking for some direction as to a standard format for commenting changes
I am looking to create a client/server application that I can use to slit
Rails noob here looking for some advice/direction on something. I have several Pages and
I am looking at device to device communications and need some direction. I have
I am looking for some libraries in delphi to programming and reading from RFID
I'm looking for a solid walkthrough or some direction on getting ferret set up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.