Thanks to reply Jim. my pleasure and sorry for disturbing.

Actually, It's working that you made. but the problem is setting I did.

when I write config.action_controller.relative_url_root = "/dictionary" in 

it works just fine, but when I access to admin page, I could see no css and 
image files

it maybe also change assets path to /dictionary, but there is no /dictionary 
path physically.

so I tried link by follow command ->  ln -s /webapps/mycook/public 

from that, it works fine! my question is, is this best way I can? and is this 
correct way in radiantcms?

that's all~ anyway I think I solve this problem from kindness people

thanks a lot :)


On Nov 29, 2010, at 10:27 AM, Jim Gay wrote:

> On Sun, Nov 28, 2010 at 8:14 PM, Ahn <> wrote:
>> Thank you so much for replying.
>> I should use sub domain instead sub directory.
>> but I have still wonder about sub directory cuz I saw it's possible to
>> use sub directory in radiant cms website
>> (You can now run Radiant from a sub-directory. by Jim Gay)
>> anyone teach me what is this mean? actually I tried to search about
>> this, and I've got nothing...
>> thank you again!
> I made changes so that the paths were not hard-coded to begin with the
> root (in other words, it uses the relative_url_root). I had asked for
> some feedback on the mailing list for anyone who was interested in
> deploying to a sub-directory but received none. I personally have no
> need for this feature.
> If you can contribute bug reports or fixes, it would be appreciated; I
> must have missed something.
>> On Nov 26, 3:35 pm, Ahn Byungmo <> wrote:
>>> Hello~ I' m trying to deploy my radiant web application with use 
>>> sub-directory
>>> just like below
>>> localhost/
>>> localhost/dictionary
>>> so i've tried to search how to deploy in sub directory in everywhere
>>> then i got some clues about change config/enviroment.rb
>>> to add below line
>>> config.action_controller.relative_url_root = "/dictionary"
>>> and it's simply works nevertheless it's not change about public path, it's 
>>> not that story
>>> I mean under public path's  image files or css files are stil in that path 
>>> -> public/image.jpg
>>> also it has got one more problem that can't be shown files under assets path
>>> so when i access to admim page, every css and image files were not be shown
>>> but still my site was normal, only have problem in admin page
>>> my env is
>>> ruby - 1.8.7
>>> radiantcms - 0.9.1
>>> anyone can help me please?
>>> Ill thank you in little clue!
>>> with Best regards!
> -- 
> Jim Gay
> Saturn Flyer LLC
> 571-403-0338

Reply via email to