Skip to main content
Inspiring
Feb 22, 2016 5:05 PM UTC
Answered

server file extensions .css

Working with coldfusion developer edition.

Any file extension, such as .html or .css, throws a 404 error.

Of course, I need to be able to read a .css file into a template, so how do I do that?

This topic is closed to new replies. Start a new post to keep the conversation going.
howard_owensCorrect answer
Inspiring
Feb 28, 2016 5:46 AM UTC

Success.

Finally found the right path to wsconfig and am all set.


For those who find this thread trying to solve the same issue, use the link above, when you get to where you need to run wsconfig

../ColdFusion/cfusion/runtime/bin/wsconfig

15 replies

Carl Von Stetten
Legend
Feb 22, 2016 7:44 PM UTC

Are you working on a local development environment, and using the ColdFusion built-in web server?

Translate
Inspiring
Feb 22, 2016 10:43 PM UTC

Yes.

Translate
Carl Von Stetten
Legend
Feb 23, 2016 12:29 AM UTC

I think serving static assets from the built-in server has been problematic in the past. Where are you placing the static files (html or css)?  Are they in subfolders under C:\ColdFusion10\cfusion\wwwroot?

Translate