I have some global directories, aliases and rewrite rules in my httpd.conf. They aplly to both 80 and 443.
Now I want to add an http proxy on port 3128. I don't want it to be affected by existing directives, so I try to surround them with:
<VirtualHost *:80 *:443>
...
</VirtualHost>
This doesn't work for 443, because there's already a VirtualHost defined in conf.d/ssl.conf
:
<VirtualHost _default_:443>
...
</VirtualHost>
How to correctly share my custom directives so they apply to 80 and 443 and not 3128 with minimal editing?