Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.