SSL with Apache configs

TomBG

Active Member
#1
When using Apache configs, LiteSpeed lists SSL virtual hosts on the General page with a "www." in front of the domain name:

APVH_www.domain.com


The non-SSL version is displayed as:

APVH_domain.com


Could this be changed to display SSL virtual hosts like:

APVH_domain.com (SSL)


I think it makes things a little clearer to manage.
 

TomBG

Active Member
#3
We will see what we can do. usually, the vhost is named before knowing it is a SSL site or not.
Well, in Apache we define the SSL VirtualHost like so:

<VirtualHost 127.0.0.1:443>

.. and since that's probably where you're grabbing the VH name from (the ServerName directive), it would be easy to determine if it's SSL or not. Just check for the :443 in there. I'm sure there might be other or better ways that work with different types of Apache configs, but it's just a suggestion. You guys would know what works best.
 
Top