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

Bug#69818: marked as done (apache: suexec not suitable for virtual host setup.)



Your message dated Wed, 24 Mar 2010 20:30:39 +0000 (WET)
with message-id <20100324203039.A7741311E@kmos.homeip.net>
and subject line Package apache-common has been removed from Debian
has caused the Debian Bug report #69818,
regarding apache: suexec not suitable for virtual host setup.
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 owner@bugs.debian.org
immediately.)


-- 
69818: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=69818
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache
Version: 1.3.9-13.1
Severity: wishlist

how can anyone set up virtual hosts with debian apache ?
suexec will cause lots of trouble.

but here is an easy way: create users, give them a public_html
directory as startpoint for the virtual hosts, and apply these
changes to suexec. in short: these allow cgi scripts inside ~/public_html,
even if the document url doesn´t start with "~".

    if (((chdir(target_homedir)) != 0) ||
        ((chdir(USERDIR_SUFFIX)) != 0) ||
        ((getcwd(dwd, AP_MAXPATH)) == NULL) ||
        ((chdir(cwd)) != 0)) {
        if (((chdir(DOC_ROOT)) != 0) ||
            ((getcwd(dwd, AP_MAXPATH)) == NULL) ||
            ((chdir(cwd)) != 0)) {
            log_err("emerg: neither in userdir nor in docroot\n");
            exit(113);
        }
    }


anyway: debian apache package should have a README.Debian with detailed
instructions how to set up virtual servers. it is not obvious, and
the normal apache configuration doesn´t cover that topic.
my example is a setup with all virtual hosts in ~user/public_html/,
logfiles in ~user/log/ ... which is neat and clean, but doesn´t
work with default suexec. if you have a better solution,
please tell me (and document in such a file).

regards, andreas

-- System Information
Debian Release: 2.2
Kernel Version: Linux fwi-athene 2.2.16 #3 Tue Jun 13 23:20:34 CEST 2000 i586 unknown

Versions of the packages apache depends on:
ii  apache-common  1.3.9-13.1     Support files for all Apache webservers
ii  libc6          2.1.3-10       GNU C Library: Shared libraries and Timezone
ii  libdb2         2.4.14-2.7.7.1 The Berkeley database routines (run-time fil
ii  libgdbmg1      1.7.3-26.2     GNU dbm database routines (runtime version).
ii  mime-support   3.9-1          MIME files 'mime.types' & 'mailcap', and sup
ii  perl-5.004     5.004.05-6     Larry Wall's Practical Extracting and Report
	^^^ (Provides virtual package perl5)
perl	Not installed or no info


--- End Message ---
--- Begin Message ---
Version: 1.3.34-4.1+rm

You filed the bug http://bugs.debian.org/69818 in Debian BTS
against the package apache-common. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/418266. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply to: