Command - Lucee File Not Found

I am running Command box and starting a server with the following… (On Raspberry Pi)

sudo box start rewritesEnable=false host=192.168.123.105 openBroswer=false name=contentbox port=8080 directory=/home/pi/wwwroot directorybrowsing=true saveSettings=true

All that starts and works just fine.

It will go and work pretty good… Where the issue is the I’ve got further directories…

/home/pi/wwwroot
index.cfm
mobile.css

All those work fine…

Not when I leave that directory to something like … /home/pi/wwwroot/Calendar/ things work but any jog or .css file that is referenced there won’t work.

I’ve tried a few things and just am not making any progress.

Ideas ?

I’m not following what you’re doing. Are you navigating to subdirectories or starting another server in another directory? I’m running CommandBox on a raspberry pi with no issues. Can you take a screen shot of the 404 page you’re getting for the actual static files so I can tell where it’s coming from?

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Brad,
I am navigating to different sub directories within the root directory that I started the server.
I start the server with the command that is showed below /home/pi/wwwroot from there I’ve got several other directories. For example… /home/pi/wwwroot/CALENDAR_APP_2_0_0/CF_Cal/ inside there are various jpg files. One being cal1.jpg The cfm page that calls it just does not display the graphic/ Manually going to the file I get the following error… I think it’s coming from Lucee. Almost like there is an issue with serving various types of files. I’ll get the same indication if going direct to a .css file… The calling pages for both just give the default place holders for graphics and don’t format the page when using css.

Eric Parker

Nope, that’s the default 404 from the Undertow web server (not Lucee). I’d double check the case sensitivity perhaps? Can you try taking out the “CF” from the folder name just to see if it changes anything. Does a .cfm file in the same directory work? Are all images returning a 404, or just certain ones? Can you find a pattern?

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com