0

我在插件上运行我的 ruby​​ on rails应用程序mac os x 10.7。我的文件如下。Apache Web ServerPassengerhttpd.conf

LoadModule passenger_module /Users/Ahmad/.rvm/gems/ruby-1.9.3-p392/gems/passenger-3.0.19/ext/apache2/mod_passenger.so
PassengerRoot /Users/Ahmad/.rvm/gems/ruby-1.9.3-p392/gems/passenger-3.0.19
PassengerRuby /Users/Ahmad/.rvm/wrappers/ruby-1.9.3-p392/ruby
NameVirtualHost *:80
<VirtualHost *:80>
  ServerName qchext.local
  # !!! Be sure to point DocumentRoot to 'public'!
  DocumentRoot "/Users/Ahmad/Sites/redbytes_projects/qchext/public"    
  <Directory "/Users/Ahmad/Sites/redbytes_projects/qchext/public">
     # This relaxes Apache security settings.
     AllowOverride all
     # MultiViews must be turned off.
     Options -MultiViews
  </Directory>
</VirtualHost>
ServerName qchext.local

错误日志文件

[notice] caught SIGTERM, shutting down
[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done
[warn] mod_bonjour: Skipping user 'Ahmad' - no valid index file. 
[notice] Apache/2.2.22 (Unix) Phusion_Passenger/3.0.19 DAV/2 configured -- resuming normal  operations

请指导我做错了什么。

4

1 回答 1

0

The SIGTERM you see is used to restart Apache, did you install the latest Apache with mod_passenger and not the Apache that comes bundled with OSX (Assuming that this is what you are running RoR on).

于 2013-04-24T06:43:03.863 回答