[Top][All Lists]

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

Re: [Sks-devel] Question about apache2 configuration

From: Todd Lyons
Subject: Re: [Sks-devel] Question about apache2 configuration
Date: Tue, 12 Nov 2013 06:59:59 -0800

On Tue, Nov 12, 2013 at 6:45 AM, Filip Stefaniak <address@hidden> wrote:
>> Your webserver doesn't return the sks interface when contacted as
>> or even so it
>> can't be used as part of the port80 Pool
> Ok. So as I assume I have to add:
> <VirtualHost *:80>
> ServerAlias
> ServerAlias

No, because you are adding to a name-based virtual hosting
configuration.  You would have to add EVERY SINGLE POSSIBLE dns cname
that could be pointed to (such as  Instead, use an IP based virtual hosting
configuration, one that doesn't care what Host header gets sent to it.

<VirtualHost your.ip.add.ress:80>

Then verfiy with 'httpd -S' that it is listed in the first VirtualHost
configuration (which is the ip based virtual hosting) :

VirtualHost configuration: (/etc/httpd/conf.d/sks.conf:23) (/etc/httpd/conf.d/sks.conf:37)

...instead of in the name-based virtual hosting section:

wildcard NameVirtualHosts and _default_ servers:
*:11371       (/etc/httpd/conf.d/sks.conf:8)
_default_:443 (/etc/httpd/conf.d/ssl.conf:74)
*:80                   is a NameVirtualHost

This is why the output of httpd -S is *SO* important.  It tells you
how apache is reading and interpreting your configuration.  If you are
having problems, post your entire sks.conf file (assuming you have it
separate like mine) and the output of httpd -S (the full output,
otherwise some other part that you're not showing us could be causing
a problem).

SOPA: Any attempt to [use legal means to] reverse technological
advances is doomed.  --Leo Leporte

reply via email to

[Prev in Thread] Current Thread [Next in Thread]