Edgewall Software

Changes between Version 422 and Version 423 of TracInstall


Ignore:
Timestamp:
Sep 21, 2015, 2:14:15 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

Revisions to TracInstall@422. Copied Jun's change from TracModWSGI@71. In the future (Trac 1.2 documentation or later) the web server configuration will be completely removed from TracInstall.

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v422 v423  
    279279Trac provides various options for connecting to a "real" web server:
    280280 - [TracFastCgi FastCGI]
    281  - [wiki:TracModWSGI mod_wsgi]
    282  - [TracModPython mod_python] for apache web-server
     281 - [wiki:TracModWSGI Apache with mod_wsgi]
     282 - [TracModPython Apache with mod_python]
    283283 - //[TracCgi CGI]: should not be used, as it degrades performance//
    284284
     
    328328
    329329<Directory "/path/to/www/trac/htdocs">
    330   Order allow,deny
    331   Allow from all
    332   # Require all granted # since Apache 2.4
     330  # For Apache 2.2
     331  <IfModule !mod_authz_core.c>
     332    Order allow,deny
     333    Allow from all
     334  </IfModule>
     335  # For Apache 2.4
     336  <IfModule mod_authz_core.c>
     337    Require all granted
     338  </IfModule>
    333339</Directory>
    334 }}}
    335 
    336 {{{#!div class=important
    337 '''Warning:''' Since Apache 2.4 the configuration with `Order allow,deny` and `Allow from all` has been replaced with `Require all granted`. Please refer to https://httpd.apache.org/docs/2.4/upgrading.html for more information.
    338340}}}
    339341
     
    352354
    353355<Directory "/path/to/projectenv/htdocs">
    354   Order allow,deny
    355   Allow from all
    356   # Require all granted # since Apache 2.4
     356  # For Apache 2.2
     357  <IfModule !mod_authz_core.c>
     358    Order allow,deny
     359    Allow from all
     360  </IfModule>
     361  # For Apache 2.4
     362  <IfModule mod_authz_core.c>
     363    Require all granted
     364  </IfModule>
     365</Directory>
    357366</Directory>
    358367}}}