I'm working with another developer on our website. Here's how he has the coldbox 3.1 app set up - he runs it from his Windows dev sandbox as work.hisdomain.org:88; the setup is the same as on my Windows server where the live site will be run like so: beta.newsite.com.
I'm trying to get the application to work on my OS X laptop so I can do my work before pushing out to the git repository. I have everything located within /Library/Webserver/Documents; I'm using Apache2. And I access the app as: 127.0.0.1/sitebeta/. ColdBox is at the root level within Documents, as is sitebeta.
When I go to 127.0.0.1/sitebeta/index.cfm, I get the plain vanilla view, but the stylesheet isn't applied. Here's how the link looks like: <link href="/includes/styles/adminstyles.css" type="text/css" rel="stylesheet" />
My developer says that SES is turned on and AddAsset function is being used.
Here's the configuration in Application.cfc:
COLDBOX_APP_ROOT_PATH = getDirectoryFromPath(getCurrentTemplatePath());
COLDBOX_APP_MAPPING = "";
COLDBOX_CONFIG_FILE = "";
COLDBOX_APP_KEY = "";
this.name = hash(getCurrentTemplatePath());
this.sessionManagement = true;
this.sessionTimeout = createTimeSpan(0,2,0,0);
this.setClientCookies = true;
this.applicationtimeout = createtimespan(1,0,0,1);
// Mappings Imports
this.mappings["/model"] = COLDBOX_APP_ROOT_PATH & "model";
this.mappings["/"] = COLDBOX_APP_ROOT_PATH;
How can I get this fixed so the links work properly?