Oil refinery

I am trying to configure a refinery to work in Apache / Passenger with sub-uri. But when I access the site and the administration area, I get strange behavior (images are not loaded correctly, pages cannot be edited, etc.)

I was wondering if sub uri is simply not supported or if there is some workaround available

(running rails 3.0.3 and refinery 0.9.9)

The reason I want to do this is the ability to host multiple sites based on a refinery on the same server / ip port 80 .. just by placing them each on a different sub uri.

+3
source share
1 answer

I understand that this is a really old question ... I am trying to do the same and found this question.

Rails 3.0.11 refinerycms 1.0.9, ( Apache/Passenger). , , CSS , ... , . -, , cms , .

; css . , :
rake refinery:override stylesheet=refinery/refinery
, , -/images////. .

ETA: //- .

+2
source

Source: https://habr.com/ru/post/1794500/


All Articles