You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Dan Poirier <po...@pobox.com> on 2009/07/14 14:49:21 UTC
[users@httpd] Re: Conditional in httpd.conf
rank1seeker@gmail.com writes:
> That is exatly how do I do it now.
> But the point is that I've noticed how diif between:
> <VirtualHost *:80>
> ... plain HTTP website
> </VirtualHost>
>
> <VirtualHost *:443>
> ... SSL website
> </VirtualHost>
>
> for a SAME site, is jus a 3 lines.
> That is:
> SSLEngine On and path to key and cert file.
>
> So, had a thought of excluding port from VH container and leaving only IP,
> like:
> <VirtualHost 5.5.5.5>
>
>
> SetEnvIf or any other, similar module, also wouldn't be able to "hack" it
> in this way?
Try putting the common lines in another file and Include it wherever you
need it.
--
Dan Poirier <po...@pobox.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