View Single Post
Old 8th October 2006, 16:26
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Originally Posted by Tenaka
I started reading through the links you gave me, but can you tell me if its basically possible to do this while still using ispcfg on debian:
Sure, just put the configuration in the Apache Directives field.

have apache2 keep his existing setup and role as a primary server but have him proxy requests for static content to another server and requests for fastcgi to another server?

Originally Posted by Tenaka
apache2 is already fully working so I would only need to setup the proxy module for it and have it redirecting requests for i.e. images to the small webserver but that small webserver would need "a copy" of the vhost configuration of apache2 to know which sites and how it is serving, right?
In the reverse proxy configuration you can specify a totally different URL and port, so it's totally up to you how you do it:

<VirtualHost *:80>
      ProxyPass /<port, if different from 80>/
      ProxyPassReverse /<port, if different from 80>/
      ProxyPreserveHost on
Originally Posted by Tenaka
now how would I go ahead and copy this config if I would use lighttpd as a server for static content??
basically the same as asked here:
You can use any webserver software you like for serving your static content, this doesn't influence the reverse proxy configuration on your Apache.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote