Project

General

Profile

Feature #20

Feature request: Environment Variables in config

Added by Anonymous over 13 years ago. Updated over 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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

History

#1

Updated by jan over 13 years ago

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

Xuefer added this in changeset r340 and earlier

#2

Updated by Anonymous over 13 years ago

instead, use:


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

-- Xuefer <xuefer

#3

Updated by Anonymous over 13 years ago

Very nice, thank you!

-- se

Also available in: Atom