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: Can Server Side Includes from a proxy be processed by Apache
Author
offroadbis



Joined: 29 Dec 2015
Posts: 1
Location: USA,Bismarck

PostPosted: Tue 29 Dec '15 23:00    Post subject: Can Server Side Includes from a proxy be processed by Apache Reply with quote

Server version: Apache/2.4.16 (Unix)
Server built: Jul 31 2015 15:53:26
OS X El Capitan 10.11.2 (15C50)

We have our apache server with a proxypass set as follows

ProxyPassMatch /[Aa][Uu][Ff](.*) http://dbserver.test:8082/cgi/fileannualuse$1

When calling http://devserver.test/auf/, the server returns an html index file with a couple of server side includes, shown below.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> TEST </title>
</head>
<body>
<div id="page">
<!--#include includes/header.inc -->
<div id="container">
Content
</div>
<!--#include includes/footer.inc -->
</div>
</body>
</html>

Is there anyway to have apache process the server side includes that are in files sent by the dbserver, so we don't have to have the header.inc, and footer.inc on the dbserver? We have full control of the dbserver, so we can manipulate headers returned with the html file.

Thanks,
Back to top
James Blond
Moderator


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

PostPosted: Fri 01 Jan '16 12:53    Post subject: Reply with quote

SSI has to be processed on the reversed Server. It is not possible ( AFAIK) on the front end server.
Back to top


Reply to topic   Topic: Can Server Side Includes from a proxy be processed by Apache View previous topic :: View next topic
Post new topic   Forum Index -> Apache