Update June 4 2013: This article is completely obsolete. In Phusion Passenger 4, using SetEnv and PassEnv in Apache and env in Nginx works as expected. Detailed information can be found in the Phusion Passenger manual, section âAbout environment variablesâ. Phusion Passenger manages Ruby/Rails process automatically. Sometimes it is necessary set environment variables or to pass environment variabl
passengerãã¤ã³ã¹ãã¼ã«ãã¦ã使ãããã®ã³ãã³ãå®è¡ã % sudo gem install passenger % sudo passenger-install-apache2-moduleæå¾ã«ãããªã¡ãã»ã¼ã¸ã Please edit your Apache configuration file, and add these lines: LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.3/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.3 PassengerRuby /usr/bin/ruby表示ããããã¹ã¯ç°å¢ã«ããç°ãªãã¯ããã¾ããè¨ãããéãã«ä¸è¨ãapac
æ¦è¦ redmine.example.com ã sinatbbs.example.com ã§ã¯ãªãã www.example.com/redmine/ ã www.example.com/sinatbbs/ ã«ããæ¹æ³ã Rails ç·¨ DocumentRoot ã /www/htdocs/ ã ã¨ããã Rails ã§ä½ããã Skip ã Redmine ã /home/oooooooo/redmine-0.8/ ã /home/oooooooo/skip-1.1.0/ ã ã¨ããã $ cd /www/htdocs/ $ ln -s /home/oooooooo/skip-1.1.0/ skip $ ln -s /home/oooooooo/redmine-0.8/ redmine httpd.conf ã«ä¸è¨ã追å ã RailsBaseURI /redmine RailsBaseUR
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
This is the old, deprecated Passenger documentation. Please visit https://www.phusionpassenger.com/library/ for the new documentation.
d:id:rx7:20080327:p1 ã§ç´¹ä»ããRuby on Railsç¨ã®Apacheã¢ã¸ã¥ã¼ã«ãPassenger (mod_rails for Apache)ãããã¨ãã¨ããã¼ã«ãè±ãã 模æ§ã å æ¥ãmod_railsã使ãã¨ä½ãå¬ããã®ããã£ã¦èããããã§ããããã¯ãApacheãéãã¦Railsã¢ããªã±ã¼ã·ã§ã³ãåããã¨ã§ãããã ã¨ããã®ã¯ãéç¨ãã¦ãããµã¼ããªã©ã§Apacheãåãã¦ãããããã¨ãä»æ´MongrelãLighttpdã§æ°è¦ã«åãããããæ¢åã®Apacheãçããã¦åããããã¨ãããã¼ãºãããå ´åããããã¨æãã¾ãã ããããApache + FastCGIã使ã£ãéç¨ã¯ãããæ·å± ãé«ãã¤ã¡ã¼ã¸ããã£ããããããããã®æ軽ã«å°å ¥ã§ãã¦ãã¤éç¨ãããã(ãããããªã)å¯è½æ§ãããmod_railsã«æå¾ ãæ±ãããã§ãã ã¤ã¼ããã§ãç©ã¯è©¦ãã£ã¦ãã¨ã§ãRai
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}