Hi,
und zwar würde ich gerne den prelude-lml mit mod_security-filter
über mein apache-error_log laufen lassen um mir in prelude die Einträge für mod_security zu sammeln.
Problem dabei ist, daß auf dem Server mehrere Vhosts laufen (Plesk)
die jeweils ein eigenes error_log im vhost drinhaben.
Wenn ich die Apachekonfiguration richtig verstanden hab wird bei vorhandenem Eintrag von einem error_log in der vhost-config die errors des jeweiligen vhosts auch nur in dieses error_log geschrieben und nicht in das allgemeine /var/log/apache*/error_log
Wie kann ich es hinbekommen, daß sowohl in den jeweiligen vhosts als auch im allgemeinen error_log geloggt wird?
Giffi
Allgemeines error_log trotz vhost-error_logs
Re: Allgemeines error_log trotz vhost-error_logs
Füge den entsprechenden vHosts ein zweites Errerlog hinzu...
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.
Re: Allgemeines error_log trotz vhost-error_logs
Ist auch eine Möglichkeit.
Allerdings genauso umständlich wie alle vhost-error_logs in die prelude-lml-config einzufügen, da ich das bei jedem vhost dann ja manuell in die Konfig eintragen muss.
Giffi
Allerdings genauso umständlich wie alle vhost-error_logs in die prelude-lml-config einzufügen, da ich das bei jedem vhost dann ja manuell in die Konfig eintragen muss.
Giffi
Re: Allgemeines error_log trotz vhost-error_logs
In dem Fall lohnt sich ein kleines Shellscript...
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.
