Project

General

Profile

Actions

Feature #20

closed

Feature request: Environment Variables in config

Added by Anonymous almost 20 years ago. Updated almost 18 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

It would be nice if one could use environment variables in the lighttpd.conf like so.


export RAILS_ROOT=/home/user/rails

and in lighttpd.conf:


server.document-root = "$RAILS_ROOT/public" 

-- se

Actions #1

Updated by jan over 19 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Xuefer added this in changeset r340 and earlier

Actions #2

Updated by Anonymous over 19 years ago

instead, use:


server.document-root = env.RAILS_ROOT + "/public" 

-- Xuefer <xuefer

Actions #3

Updated by Anonymous over 19 years ago

Very nice, thank you!

-- se

Actions

Also available in: Atom