~ubuntu-branches/ubuntu/wily/ruby-passenger/wily-proposed

« back to all changes in this revision

Viewing changes to test/stub/apache2/httpd.conf.erb

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-11-23 23:50:02 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20131123235002-8fdhsq7afj15o2z2
Tags: 4.0.25-1
* New upstream release.
* Refresh fix_install_path.patch.
* Build for Ruby 2.0 instead of 1.8. (Closes: #725591)
* Add fix_ftbfs_fortify_source.patch.
* Install passenger template files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
<% end %>
32
32
<% if PlatformInfo.httpd_version >= '2.4.0' %>
33
33
        LoadModule authz_core_module "<%= modules_dir %>/mod_authz_core.so"
34
 
        LoadModule unixd_module "<%= modules_dir %>/mod_unixd.so"
35
 
<% end %>
 
34
        <% if !has_builtin_module?('mod_unixd.c') %>
 
35
                LoadModule unixd_module "<%= modules_dir %>/mod_unixd.so"
 
36
        <% end %>
 
37
<% end %>
 
38
 
 
39
<% if !has_builtin_module?('prefork.c') &&
 
40
      !has_builtin_module?('worker.c') &&
 
41
      !has_builtin_module?('event.c') %>  
 
42
        <% if has_module?('mod_mpm_event.so') %>
 
43
                LoadModule mpm_event_module "<%= modules_dir %>/mod_mpm_event.so"
 
44
        <% elsif has_module?('mod_mpm_worker.so') %>
 
45
                LoadModule mpm_worker_module "<%= modules_dir %>/mod_mpm_worker.so"
 
46
        <% elsif has_module?('mod_mpm_prefork.so') %>
 
47
                LoadModule mpm_prefork_module "<%= modules_dir %>/mod_mpm_event.so"
 
48
        <% else %>
 
49
                <% raise "Could not find any mpm module in: #{Dir.entries(modules_dir).inspect}" %>
 
50
        <% end %>
 
51
<% end %>
 
52
 
36
53
LoadModule passenger_module "<%= @mod_passenger %>"
37
54
 
38
55
PassengerRoot "<%= @passenger_root %>"