httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Brooks <jason.bro...@eroi.com>
Subject [users@httpd] conditional expression looking for another virtualhost entry
Date Fri, 07 Jul 2017 20:42:02 GMT
Hello,

I am modifying a template in virtualmin.  I want to have in a <virtualhost *:80> section
something to the effect of:

“if there is a <virtualhost *:443> section with the same servername directive
	redirect permanent / https://<servername>

“

So basically I want apache to figure out if there is another virtualhost and enable an entry
based on that.

Does that make sense?

Thanks!

Jason Brooks	Systems Administrator
eROI	Performance is Art.
 
m:	505 nw couch #300	w:	eroi.com <http://eroi.com/>
t:	503.290.3105	f:	503.228.4249


fb:	fb.com/eROI <http://www.facebook.com/eROI>









Mime
View raw message