Your message dated Thu, 07 Feb 2008 22:02:16 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#462930: fixed in mini-httpd 1.19-7
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mini-httpd
Version: 1.19-3
Severity: normal
Tags: patch

Hi,

the latest version of mini-httpd doesn't work correctly when using PHP 
CGI-scripts.
The error-message is the following: "No input file specified."

A patched version of mini-httpd is used at the m0n0wall-project, but the patch 
from that project also includes some specific changes related to the project 
itself.
That's why I modified the patch to fit to a more general installation of 
mini-httpd.

Best regards,

Thorsten Schmale


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.9-023stab044.12-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages mini-httpd depends on:
ii  libc6                  2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii  libssl0.9.8            0.9.8c-4etch1     SSL shared libraries

mini-httpd recommends no packages.

-- no debconf information
--- mini_httpd.c.orig	2005-06-29 19:31:17.000000000 +0200
+++ mini_httpd.c	2008-01-24 13:59:53.000000000 +0100
@@ -1129,7 +1129,7 @@
     int r, file_len, i;
     const char* index_names[] = {
 	"index.html", "index.htm", "index.xhtml", "index.xht", "Default.htm",
-	"index.cgi" };
+	"index.cgi", "index.php" };
 
     /* Set up the timeout for reading. */
 #ifdef HAVE_SIGSET
@@ -2117,6 +2117,7 @@
     int envn;
     char* cp;
     char buf[256];
+    char rp[MAXPATHLEN];
 
     envn = 0;
     envp[envn++] = build_env( "PATH=%s", CGI_PATH );
@@ -2134,7 +2135,7 @@
     envp[envn++] = build_env( "SERVER_PORT=%s", buf );
     envp[envn++] = build_env(
 	"REQUEST_METHOD=%s", get_method_str( method ) );
-    envp[envn++] = build_env( "SCRIPT_NAME=%s", path );
+    envp[envn++] = build_env( "SCRIPT_FILENAME=%s", realpath(file, rp) );
     if ( pathinfo != (char*) 0 )
 	{
 	envp[envn++] = build_env( "PATH_INFO=/%s", pathinfo );

--- End Message ---
--- Begin Message ---
Source: mini-httpd
Source-Version: 1.19-7

We believe that the bug you reported is fixed in the latest version of
mini-httpd, which is due to be installed in the Debian FTP archive:

mini-httpd_1.19-7.diff.gz
  to pool/main/m/mini-httpd/mini-httpd_1.19-7.diff.gz
mini-httpd_1.19-7.dsc
  to pool/main/m/mini-httpd/mini-httpd_1.19-7.dsc
mini-httpd_1.19-7_i386.deb
  to pool/main/m/mini-httpd/mini-httpd_1.19-7_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marvin Stark <[EMAIL PROTECTED]> (supplier of updated mini-httpd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 05 Feb 2008 08:56:53 +0000
Source: mini-httpd
Binary: mini-httpd
Architecture: source i386
Version: 1.19-7
Distribution: unstable
Urgency: low
Maintainer: Marvin Stark <[EMAIL PROTECTED]>
Changed-By: Marvin Stark <[EMAIL PROTECTED]>
Description: 
 mini-httpd - a small HTTP server
Closes: 462930
Changes: 
 mini-httpd (1.19-7) unstable; urgency=low
 .
   * Patched PHP CGI errors (Closes: #462930)
     Thanks to Thorsten Schmale
   * Changed Standards-Version to 3.7.3
   * Fixed init.d script
Files: 
 7181681a72adb605a9eaceb39b195425 583 web optional mini-httpd_1.19-7.dsc
 35a055b66199ec10c362622b884b8260 4551 web optional mini-httpd_1.19-7.diff.gz
 19179d83d63ff9e6031aa4b4b31074a8 38806 web optional mini-httpd_1.19-7_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHq30V5UTeB5t8Mo0RAhVVAJ4+93KB3RBjAmmBH/S44yEkdRbUfwCfda8E
F4KQEN+X9lSfBvPTEvACo1o=
=w1Q/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to