sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] Question about apache2 configuration


From: Jeremy T. Bouse
Subject: Re: [Sks-devel] Question about apache2 configuration
Date: Wed, 20 Nov 2013 11:25:20 -0500
User-agent: Roundcube Webmail/0.7.1

On 20.11.2013 10:56, Gabor Kiss wrote:
But I had a problem. When sks was set to listen on port 11371, apache complained about listening on the same port. So I have changed the sks
port to 11372 and configured Proxy to this port:

<VirtualHost *:80 *:11371>
    ServerName klucze.achjoj.info
    <Proxy *>
            Order deny,allow
            Allow from all
    </Proxy>
    ProxyPass / http://127.0.0.1:11372/
    ProxyPassReverse / http://127.0.0.1:11372/
    ProxyVia On
    SetEnv proxy-nokeepalive 1
</VirtualHost>

At me apache daemon listens on specific addresses only.
So 127.0.0.1:11371 can be bound to sks.

Listen 195.111.98.30:11371
Listen [2001:738:0:1:209:6bff:fe8c:845b]:11371

Cheers

Gabor

The problem I believe is actually the VirtualHost line. To enable to listen on the two ports I believe it needs to be 2 separate VirtualHost blocks. I don't believe "VirtualHost *:80 *:11371" is valid. This should be able to be confirmed by trying to run it through the apachectl configtest.



reply via email to

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