httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject [users@httpd] Re: Conditional in httpd.conf
Date Tue, 14 Jul 2009 12:49:21 GMT
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 <poirier@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


Mime
View raw message