linking images bug

when i try to set a picture in content , the big X is showing all the time , i think the generated link to image is wrong , any idea ?

what version?

Also, make sure the following is in your rewrites:

Media Types

RewriteCond %{REQUEST_URI} /__media/

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.cfm/%{REQUEST_URI} [QSA,L,NS]

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

srry , im a newbie in contentbox, where i can find this rewrites , by the way here is an example of links -> /index.cfmmyfirstproject/__media/home-rotating-banner1.jpg

No problem Petar.

I was guessing you are using mod_rewrite. So let’s start there first. What is your setup configuration: cf engine, version and web server.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

i am using
Railo 4.0.4

coldbox platf version v.3.7.1
cb version v.1.5.7.00012

There appears to be a missing slash between “index.cfm” and “myfirstproject”

In fact, I’m not sure that the “myfirstproject” bit is even supposed to be in the URL-- at least not there. Can you tell us what that string is-- as in the folder the app is in, etc?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

that is url generated automatically when i try to link image from content folder . Attached is picture with example

21 ноември 2013, четвъртък, 03:06:12 UTC+2, Petar Petrov написа:

Can you confirm if approveit is your Java context root, or your app mapping. If you don’t know what a java context is, we’ll assume the latter. I beleive you that it’s being created automatically, but even if it is a bug we need more information to reproduce it and fix it :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

Have you used the war deployment?