Next Change →

Changeset 13:39d932c83a88 in win_iovar for vhost.conf


Ignore:
Timestamp:
May 2, 2017, 6:03:17 AM (15 months ago)
Author:
Shawn Wilson <shawn@…>
Branch:
default
Phase:
public
Tags:
tip
Message:

saw_050217_1 - Make Trac the root and start getting things together for better presentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vhost.conf

    r12 r13  
    66    ServerAlias www.iovar.win iovar.win
    77    ServerAdmin webmaster@lannocc.com
    8     DocumentRoot /var/www/win.iovar/htdocs
     8    DocumentRoot /var/www/win.iovar/trac
    99
    1010    CustomLog /var/log/apache2/win.iovar/access_log vhost
     
    1414
    1515    <Location "/">
    16         Require all granted
    17         DirectoryIndex index.html
     16        <LimitExcept GET>
     17            AuthType Basic
     18            AuthName "A Virgo Venture"
     19            AuthBasicProvider "ldap"
     20            AuthLDAPURL "ldap://dir.s/ou=people,ou=ops,o=lannocc?uid?one?(objectClass=posixAccount)"
     21        #    authzldapauthoritative Off
     22            AuthLDAPBindAuthoritative off
     23            Require valid-user
     24        </LimitExcept>
    1825    </Location>
     26    <Directory "/var/www/win.iovar/trac">
     27        SetEnv PYTHON_EGG_CACHE /var/www/win.iovar/trac/egg-cache
     28        SetHandler mod_python
     29        PythonHandler trac.web.modpython_frontend
     30        PythonOption TracEnv /var/www/win.iovar/trac
     31        PythonOption TracUriRoot /
     32    </Directory>
     33
     34    <Location "/login">
     35        AuthType Basic
     36        AuthName "A Virgo Venture"
     37        AuthBasicProvider "ldap"
     38        AuthLDAPURL "ldap://dir.s/ou=people,ou=ops,o=lannocc?uid?one?(objectClass=posixAccount)"
     39    #    authzldapauthoritative Off
     40        AuthLDAPBindAuthoritative off
     41        Require valid-user
     42    </Location>
     43
    1944
    2045    ScriptAlias /hg "/var/www/win.iovar/cgi-bin/hg.cgi"
     
    3156    </Location>
    3257
     58    Alias /jar "/var/www/win.iovar/htdocs/jar"
    3359    <Location "/jar">
    3460        Options +Indexes
     
    4369        AllowOverride Indexes
    4470    </Directory>
    45 
    46 
    47     <Location "/doc">
    48         <LimitExcept GET>
    49             AuthType Basic
    50             AuthName "A Virgo Venture"
    51             AuthBasicProvider "ldap"
    52             AuthLDAPURL "ldap://dir.s/ou=people,ou=ops,o=lannocc?uid?one?(objectClass=posixAccount)"
    53         #    authzldapauthoritative Off
    54             AuthLDAPBindAuthoritative off
    55             Require valid-user
    56         </LimitExcept>
    57     </Location>
    58     <Directory "/var/www/win.iovar/htdocs/doc">
    59         SetEnv PYTHON_EGG_CACHE /var/lib/trac/egg-cache
    60         SetHandler mod_python
    61         PythonHandler trac.web.modpython_frontend
    62         PythonOption TracEnv /var/lib/trac/win.iovar
    63         PythonOption TracUriRoot /doc/
    64     </Directory>
    65 
    66     <Location "/doc/login">
    67         AuthType Basic
    68         AuthName "A Virgo Venture"
    69         AuthBasicProvider "ldap"
    70         AuthLDAPURL "ldap://dir.s/ou=people,ou=ops,o=lannocc?uid?one?(objectClass=posixAccount)"
    71     #    authzldapauthoritative Off
    72         AuthLDAPBindAuthoritative off
    73         Require valid-user
    74     </Location>
    75 
    7671
    7772    #
Note: See TracChangeset for help on using the changeset viewer.