Servus zusammen!
Ich hock hier nun schon 2 Tage und versuche obige Kombination ans Laufen zu bekommen.
Umgebung ist Apache 2.0.54 mit Confixx 3.2.1.
Folgendes Problem ergibt sich dabei:
Wenn ich das ChrootDir in der Apache2-Konfig auf /var/www setze, muss ich ja die ganzen Directorys in den diversen VHost-Einstellungen von /var/www/..../.../ auf /..../.../ setzen. Um Confixx dies beizubringen, habe ich zunächst versucht, in der confixx_main.conf die $user_HomeDir einfach auf "/" zu setzen. Die Einträge in den Apache2-Configs stimmten danach zwar, allerdings arbeitet ja z.B. das Counterscript außerhalb des chroots und hat somit alle User-Directorys auf / angelegt (und wird höchstwahrscheinlich auch die Homeverzeichnisse aller User dahin gelegt haben etc. etc.).
Lange Rede, kurzer Sinn: So klappt das nicht.
Kennt jemand einen sinnvollen Workaround oder eine sonstige Lösung? Im Prinzip will ich nur, dass die Confixx-Scripte weiterhin in /var/www arbeiten, in der Apache-Konfig aber "/webX/" anstelle von "/var/www/webX/" benutzt wird.
Oder eine Alternative zu mod_chroot? Mir erschien das Ding an sich recht praktisch..
Confixx + mod_chroot
Re: Confixx + mod_chroot
man ln
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.