Under Apache2 I do something like this in the VirtualHost section:
SetEnv RAILS_LOG /var/log/</my package>
SetEnv RAILS_ETC /etc/<my package>
How would I do this using WebRoar?
Thanx!
Richard
Thanks for trying WebROaR.
WebROaR does not support environment variable setting in the current
release. We are planning to give its support in future release. We
would update you as soon as its support is added.
Thanks,
Dharmarth
Thanks,
Dharmarth
On May 9, 8:50 am, Dharmarth Shah <dharmarth.s...@webroar.in> wrote:
> Richard,
>
> Sorry for the typo error in the file name. I have referred 'config.h'
> file, but actually the file name is 'config.yml'.
>
> I have also changed the key name used for reading environment
> variables. So the revised configuration would look like:
>
> # 12) Environment Variable(optional)
> # It defines environment variables which can be used in
> the deployed application. It take following parameter.
> # I) set_env(optional)(Value is key-value pair separated
> by equal sign('=') e.g. LOG_DIR=/var/log/webroar)
> # Order of the above elements does not matter.
> # Base-uri 'admin-panel' is reserved for 'Admin Panel'.
> # Either host_names or baseuri(not both) must present to
> resolve HTTP request.
> # Hostnames can have multiple values, each separated by spaces.
> (e.g. host_names: server.com server.co.in)
> # Hostnames can be defined using wildcard(*), but wildcard can
> only be at start of name or at end of name (valid hostnames are (i)