Package: fex
Version: 20110610-1
Severity: normal

I have set up fex as a virtualhost in my apache. With a somewhat hackish
config (attached) it works. On the version in Debian Stable, it does
not, but the version from sid does.

The two lines needed in apache:
        ProxyPass SID http://127.0.0.1:8888/
        ProxyPass / http://127.0.0.1:8888/

This works fine for the web interface, but not for fexsend/fexget/fix.
These clients do not send the hostname. My apache logs contain:

client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23)

The fix and fex* clients should be updated to send this header. This
applies to both package fex and fex-utils.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fex depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libdigest-md5-file-perl       0.07-1     Perl extension for getting MD5 sum
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 
ii  xinetd                        1:2.3.14-7 replacement for inetd with many en

Versions of packages fex recommends:
ii  fex-utils    20100208+debian1-1+squeeze1 web service for transfering very l
ii  libnet-dns-p 0.66-2                      Perform DNS queries from a Perl sc
ii  perl-modules 5.10.1-17                   Core Perl modules

fex suggests no packages.

-- Configuration Files:
/etc/fex/fex.ph changed:
$hostname = 'fex.8d.no';
$reverse_proxy_ip = '127.0.0.1';
$ENV{HTTP_HOST} = $hostname . ':443';
$ENV{PROTO} = 'https';
$fakehost = $hostname;
$admin = 'f...@8d.no';
$admin_pw = 'I removed this =)';
$ENV{SERVER_ADMIN} = $admin;
$bcc = 'f...@8d.no';
$mdomain = '8d.no';
$spooldir = $ENV{HOME}.'/spool';
$logdir = $spooldir;
$recipient_quota = 0; 
$sender_quota = 0; 
$keep = 14; 
$autodelete = 'NO';
@local_hosts = qw(127.0.0.1);
@local_domains = qw(akuma.no 8d.no ak47.no);
@local_rdomains = qw(samfundet.no);
@public_recipients = qw(m...@8d.no);

/etc/xinetd.d/fex changed:
service fex
{
        socket_type             = stream
        wait                    = no
        type                    = unlisted
        protocol                = tcp
        port                    = 8888
        cps                     = 5 10
        user                    = fex
        groups                  = yes
        server                  = /usr/share/fex/bin/fexsrv
        nice                    = 0
        disable                 = no
        bind                    = 127.0.0.1
}


-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to