httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikunj Virani" <nik...@netsurf.co.in>
Subject Re: [users@httpd] Apache2 proxying apache1+php
Date Wed, 26 Feb 2003 06:07:22 GMT
Can u send your proxy rules ? I think it can be done using simple
RewriteRules which will proxy all requests for https and coming on Apache 2
from apache1 and display the parsed page.

It would be easier to solve it if you can provide with the Proxy Rules you
have used.

Regards,
Nikunj Virani
----- Original Message -----
From: "Mike Alberghini" <mikealberghini@yahoo.com>
To: <users@httpd.apache.org>
Sent: Tuesday, February 25, 2003 2:09 AM
Subject: [users@httpd] Apache2 proxying apache1+php


> We have a rather strange setup here that's been giving
> me trouble:
>
> We have a Solaris8 box serving a site.  It runs
> Apache1 with PHP to serve the bulk of the site.  It
> also runs Apache2 with mod_ssl for encryption to a few
> secure sections of the site.
>
> Any doc requested with http is served by Apache1 with
> PHP.  Any https request sent to Apache2, which is
> passed via a proxy to the Apache1 server on the same
> host.  To make matters worse, one of the main things
> protected behind https is a php file upload page.
>
> This is where the problem is.  Apache2 doesn't know
> what .php files are, so it brings up a file download
> prompt when you go to one.  If I tell Apache2 that
> .php files are really html, it will pass them on
> without them ever hitting the Apache1 PHP engine.  I
> get files full of raw PHP tags. What can I do to make
> all this work through a SSL proxy?  Thanks for any
> help.
>
> Mike Alberghini
> mikealberghini@yahoo.com
>
> PS.  I know the double server is an insane way to do
> it.  Boss decided we need to do it that way.
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>

Mime
View raw message