CGIs not showing nav bar

I just installed Nagios 2.11 on a new server. All of the CGIs are working, but they display outside of the black navigation bar. My URL changes too, which is unusual. For example: When I go to the Tactical Overview page, my URL becomes

hostname/nagios/cgi-bin/tac.cgi

What did I do wrong?