how to start apache2 on Heart beat

hi
Iam a newbie here and also newbie in HA, ive configured two clusters with
crm can some 1 plz elaborate specifically that wat should i do for
starting of apache2 from HA (HA two clusters are up and monitor is showing
but monitor shows 0 resource configured)
iam using debian etch
and apache2
and heartbeat 2.1.2

Hi Mr.falko
How are you.
The problem is that,i use your configration.same as u give.only ip changes.
heart beat working fine, it is tested.but ldiractrod is not working.
we i restart heart beat it fail to rum ldiractrod and following error message is shown.
the error message is look like ...
Error [] reading file /etc/ha.d/ldiractrof.cf at line 7 unknown command real=10.*.*.*:80 masq

again.
a great thanks for ur nice help in this issue,
dear i have done heatbeat job successfully.
Which I checked it.

Dear I have still problem in running and testing in ldirector.
I am 100% sure that my heartbeat is running and it working properly but my ldirector is not running, according to my above configuration.
Which also repeate in ldirector.cf