I first got the map into QGIS Server, and both GetCapabilities and GetMap are working the way they are supposed to. I was able to create this sample map without problems. I have the openlayers map I want to create saved as
/usr/lib/cgi-bin/Indiana2/Indiana2.qgs and the projection is 4326. I used the code from here, and just changed the specifics to match my map. Here is the code I am using.
EDIT: Forgot to mention that I am not getting any error message when I try to open Indiana2 in firefox. I just get a blank screen.
EDIT: Not sure if this is relevant, but I am able to connect to QGIS Server using QGIS Desktop.