Web links not working

Im using OSSIM and I’m trying to set up Nagios. When I go to localhost/Nagios2 I get my Nagios home page, but when I try to click on any of the links I get this error:

Warning: virtual() [function.virtual]: Unable to include ‘/cgi-bin/secured_nagios2/status.cgi’ - request execution failed in /usr/share/ossim/www/session/secure_nagios.php on line 7

The status.cgi part represents which ever link I tried to click on.

What does this mean and how can I fix it?

Thanks

Is your configuration of cgi.cfg good? See if there is any physical HTML paths mislead, or something like that.