Topic: qc is not defined

I'm getting a javascript error "qc is not defined" , on the login.php page.  If I put in the proper username and password, the login page just refreshes to the empty form again.

This is the line it's failing on:

<script type="text/javascript">qc.registerForm(); qc.imageAssets = "tracmor/images"; qc.cssAssets = "tracmor/css"; qc.phpAssets = "tracmor/includes/php"; qc.jsAssets = "tracmor/js"; qc.regCA(new Array("c1","c2","c3","c4")); document.getElementById('c1').focus(); </script>

This is a brand new install, I have the directories setup correctly, and the server meets the minimum requirements.  Any ideas?

Re: qc is not defined

Ok, I'm not realizing that it is in fact an issue with the directory setup.

For example, my domain is setup like this;
http://services.domain.com/cts/tracmor is the same as http://www.domain.com/services/cts/tracmor

I have in my config file:

define ('__DOCROOT__', '/Volumes/FilesVolume/web');
define ('__VIRTUAL_DIRECTORY__', '/services/cts/tracmor');
define ('__SUBDIRECTORY__', '/services/cts/tracmor');

The above lets it work if I use http://www.domain.com/services/cts/tracmore , so how do I get it to work like http://services.domain.com/cts/tracmor?