Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Debian server running 2 Apache server instances locally

The reason is one is running PHP 5.2 and the other is PHP 5.3

I have a macro to proxy off to the 5.3 server on certain directories. I specify the directories in a virtual host declaration

This is the macro

<Macro NewPHP>
        ProxyRequests Off
        <Proxy *>
                Order deny,allow
                Allow from all
        ProxyPreserveHost On

<Macro NewPHPIn $directory>
        ProxyPass $directory$directory

And I use it like so

<VirtualHost *>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/

        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride all
                Order allow,deny
                Allow from all

        Use NewPHP
        Use NewPHPIn /bar/

This makes run on PHP 5.2

And run on PHP 5.3

Now the problem is I need to do that same for SSL but I cant figure out how to get it working. Ive tried lots of different things and cant find any help elsewhere.

Does any one have any idea that may help?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.