Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache frontending MS Reporting Services

Status
Not open for further replies.

blinder

Programmer
Oct 16, 2002
13
NZ
Hi,

I can't see any reference to this being discussed before - Apologies if it has, and thanks if you can answer this,

A google search has identified the following as the possible solution - Is this correct, or is there a better way?

This is what "Bryan Avery" wrote
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
if your front-end web server is Apache, and you want to forward certain requests to be handled by reporting
services, then yes, you can make it LOOK as if it came from Apache itself using Apache's Reverse Proxy functionality.

You'll need to have the Proxy module, and the Rewrite module compiled into Apache, then set up a section in httpd.conf that looks like the following, assuming your Report Server is named "RepServ" and is running on Port 80:

RewriteRule ^/ReportServer(.*) [P,NC]

ProxyPassReverse /ReportServer
This way, when Apache sees requests for anything going to a 'ReportServer' directory, it will reverse-proxy the request to the report server (Along with everything else on the URL string - that's what the weird (.*) and $1 parts are for.), the report server will generate the report, and return it
to the Apache server (Thinking that the Apache server is just another web browser), then Apache will send the report to the actual user, making it look as if it came from the Apache server.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top