>From: [EMAIL PROTECTED] >Date: Mon, 1 Oct 2001 02:45:32 -0400 (EDT) >To: [EMAIL PROTECTED] >Subject: BOUNCE [EMAIL PROTECTED]: Non-member submission from >[[EMAIL PROTECTED]] > > >From [EMAIL PROTECTED] Mon Oct 1 02:45:30 2001 >Received: from pegasus.corren.se ([192.165.38.119]) > by burdell.cc.gatech.edu (8.9.1/8.9.3) with ESMTP id CAA17840 > for <[EMAIL PROTECTED]>; Mon, 1 Oct 2001 02:45:29 -0400 (EDT) >From: [EMAIL PROTECTED] >Received: from aSqueakSystem (marvin.corren.se [172.1.73.19]) > by pegasus.corren.se (Sun Internet Mail Server sims.4.0.2000.10.12.16.25.p8) > with SMTP id <[EMAIL PROTECTED]> for [EMAIL PROTECTED]; Mon, > 1 Oct 2001 08:42:35 +0200 (MET DST) >Date: Mon, 01 Oct 2001 08:44:44 +0100 >Subject: Re: [pws] reverse proxying >To: [EMAIL PROTECTED] >Message-id: <[EMAIL PROTECTED]> >MIME-version: 1.0 >X-Mailer: Celeste 2.0.4164 >Content-type: TEXT/PLAIN >Content-transfer-encoding: 8BIT > >"John Voiklis" <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > >And you could probably (though I have not done it myself) use Apache > > >as a "frontend" on top of Comanche using "reverse proxying" and > > >"virtual hosting". The advantages of this would be that everything goes > > >through Apache (logging, security etc) and you could proably use https > > >(secure sockets) and hide the fact that Comanche uses another port > > >(virtual hosts). > > > > Has anyone accomplished this; if so; can you help me out. I haven't set up > >Well, I have managed to map "www.svinninge.com" to one particular swiki >(and could thus map others to other names). I have copied my stuff out >from httpd.conf (I use both mod_proxy and mod_rewrite so those must be >loaded), please don't ask me what the heck I have done, because I can >barely remember...: > >....below is snipped from the end of my /etc/apache/httpd.conf.... > >NameVirtualHost 195.43.243.112 > ><VirtualHost 195.43.243.112> >ServerName www.svinninge.com >RewriteEngine on >UseCanonicalName off >ProxyRequests on >NoCache * >ProxyPass /files http://195.43.243.112:8000/files >RewriteRule ^/Svinninge(.*)$ http://195.43.243.112:8000/Svinninge$1 >[proxy] >RewriteRule ^/(.*)$ http://195.43.243.112:8000/Svinninge/$1 [proxy] >ProxyPassReverse / http://195.43.243.112:8000/Svinninge/ ></VirtualHost> > ><VirtualHost 195.43.243.112> >ServerName www.xmlstorage.com >RewriteEngine on >UseCanonicalName off >ProxyRequests on >NoCache * >ProxyPass /files http://195.43.243.112:8000/files >RewriteRule ^/xmlstorage(.*)$ http://195.43.243.112:8000/xmlstorage$1 >[proxy] >RewriteRule ^/(.*)$ http://195.43.243.112:8000/xmlstorage/$1 [proxy] >ProxyPassReverse / http://195.43.243.112:8000/xmlstorage/ ></VirtualHost> > >--------------- > >Note that www.svinninge.com is not mapped yet to this ip (but if you set >it in your local hosts-file then you could see it in action). > >Don't know if this helped, regards, G�ran
-------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 Associate Professor - Learning Sciences & Technologies. Collaborative Software Lab - http://coweb.cc.gatech.edu/csl/ (404) 894-5618 : Fax (404) 894-0673 : [EMAIL PROTECTED] http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html
