conditional expression looking for another virtualhost entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 BrooksSystems Administrator
eROIPerformance is Art.
 
m:505 nw couch #300w:eroi.com
t:503.290.3105f:503.228.4249


fb:fb.com/eROI









[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux