Your message dated Sun, 01 Jan 2012 15:43:09 +0000
with message-id <[email protected]>
and subject line Bug#653752: Removed package(s) from unstable
has caused the Debian Bug report #174501,
regarding PATH_TRANSLATED missing vhost directory portion
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
174501: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=174501
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: thttpd
Version: 2.21b-11.

I am experimenting with thttpd installation here, and I discovered that
thttpd (both Debian and orig upstream) don't add the vhost directory into
the PATH_TRANSLATED CGI environment when the vhost directive
is present in thttpd.conf.

(Consider a scenario when a non-vhosted site is moved to thttpd
vhosted environment - the CGI programs that are "used" to getting
relative URLS in the form of /index.html etc. within the scope of that
site, now will have to be adapted to /my.site.org/index.html.

Here is how it looks like from within printenv when accessed via
http://www.tarunz.org/cgi-bin/printenv:
        CGI printenv

        Date:
        Sat Dec 28 00:17:35 IST 2002

        Id:
[snip]

        Env:
        GATEWAY_INTERFACE=CGI/1.1
        SERVER_PORT=80
        PWD=/var/www.thttpd/www.tarunz.org/cgi-bin
        HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
        PATH_INFO=/index.html
        HTTP_HOST=www.tarunz.org
        SERVER_PROTOCOL=HTTP/1.1
        HTTP_ACCEPT_ENCODING=gzip, deflate
        SCRIPT_NAME=/cgi-bin/printenv
        REMOTE_ADDR=65.213.101.250
        PATH_TRANSLATED=/var/www.thttpd/index.html
        CGI_PATTERN=www.tarunz.org/cgi-bin/*
        SERVER_NAME=www.tarunz.org
        SHLVL=1
        HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
        application/vnd.ms-powerpoint, application/vnd.ms-excel,
        application/msword, */*
        REQUEST_METHOD=GET
        HTTP_ACCEPT_LANGUAGE=ru
        PATH=/usr/local/bin:/bin:/usr/bin:/usr/lib/cgi-bin
        AUTH_TYPE=Basic
        SERVER_SOFTWARE=thttpd/2.21b 23apr2001
        _=/usr/bin/printenv

(please note that www.tarunz.org is presently switched back to apache,
so you won't be able to see it live)

It is possible to work it around
by doing appropriate patches into the CGI scripts, making them "aware"
of the THTTPD special behavior, but I perceive this is not very much
compliant with the CGI interface - the idea is that I should be able
to plug my CGI script that was vhosted on apache right into the vhosted
apache env.

I'm running debian woody+proposed updates, thttpd 2.21b-11.
Same thing exists in the corresponding upstream .orig src.

Note: when re-testing this, make sure you also check the fix works
with the d/o/m/domainname.com multi-level vhost prefixes (not used here).

Kind regards/happy new year,
Vassilii



--- End Message ---
--- Begin Message ---
Version: 2.25b-11+rm

Dear submitter,

as the package thttpd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/653752

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)


--- End Message ---

Reply via email to