Re: Conditional in httpd.conf

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

 



rank1seeker@xxxxxxxxx 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@xxxxxxxxx>


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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