Commit Graph

25 Commits

Author SHA1 Message Date
David Heinemeier Hansson 678f8cbb70 Proper initialization
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-06 21:34:28 +00:00
David Heinemeier Hansson 900afae41b Added that you can change the web server port in config/lighttpd.conf from script/server --port/-p (closes #5465) [mats@imediatec.co.uk]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-05 22:11:24 +00:00
Jeremy Kemper 9f3625dd0a Ensure the logger is initialized. Closes #5629.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 20:37:49 +00:00
Jeremy Kemper 0a072e8ed7 Mongrel: script/server tails the rails log like it does with lighttpd. Closes #5541.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 00:31:45 +00:00
Jeremy Kemper 0e146d54a7 Mongrel: script/server works on Win32. Closes #5499.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 23:41:29 +00:00
Nicholas Seckar 81a6a60dc6 Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 20:53:00 +00:00
Jeremy Kemper 8b89bd779a Mongrel support for script/server. Closes #5475.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-23 22:32:10 +00:00
David Heinemeier Hansson 925d149b3c lighttpd.conf should use CWD so the config file is portable across systems, bad ulysses! ;)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 06:17:55 +00:00
David Heinemeier Hansson 69fbdb9afb use cleanpath of config file in lighttpd server script (closes #4203) [Caio Chassot]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 20:27:48 +00:00
David Heinemeier Hansson aced2863f0 Fix the detach option for lighttp (closes #4097) [schultzr@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 17:00:40 +00:00
David Heinemeier Hansson eb01d35109 Added socket cleanup for lighttpd, both before and after [DHH] Added automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 19:39:26 +00:00
Nicholas Seckar 26eaf073c4 Remove ::Controllers related cruft; fix AP tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 17:49:09 +00:00
Jeremy Kemper 09993a6073 Allow script/server -c /path/to/lighttpd.conf
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-23 21:47:34 +00:00
Jeremy Kemper 5452383174 Remove hardcoded path to reaper script in script/server.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-22 22:43:43 +00:00
David Heinemeier Hansson b230004897 Changed default lighttpd.conf to use CWD from lighttpd 1.4.10 that allows the same configuration to be used for both detach and not. Also ensured that auto-repeaping of FCGIs only happens when lighttpd is not detached. [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-12 17:41:53 +00:00
Sam Stephenson 6fbedf2e31 Show a message on script/server exit before reaping FCGIs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 01:10:32 +00:00
Sam Stephenson 7fbfc5ab61 Reap FCGI processes after lighttpd exits
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-12 23:57:44 +00:00
Sam Stephenson 833d9c89fc Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-30 19:18:55 +00:00
Sam Stephenson 2b6e2bfed7 Have the lighttpd server script report the actual ip to which the server is bound. Closes #2903.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 06:19:25 +00:00
David Heinemeier Hansson 9e0642a4ac Pulled auto-starting browser: More pain than gain
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-12 16:26:23 +00:00
Nicholas Seckar 73a697c38a Don't detach or fork for script/server tailing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 22:57:05 +00:00
David Heinemeier Hansson c7e5c27b51 Added automatic browser launching on OS X when starting script/server [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 22:15:01 +00:00
Jamis Buck b49de6b74b Copy lighttpd.conf when it is first needed, instead of on app creation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 17:45:53 +00:00
David Heinemeier Hansson bbe9ee13e1 Make sure to check for FCGI as well as lighttpd
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 13:31:19 +00:00
David Heinemeier Hansson e85e58f7a9 Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 10:42:52 +00:00