Modify ↓
Opened 18 years ago
Closed 18 years ago
#5744 closed enhancement (wontfix)
More explained auth config
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | wiki system | Version: | |
| Severity: | minor | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
In the guide there is a chapter where the Apache config is explained. However the example only shows auth-only users. If you whant a mixed mode in your repository you may have to put the auth stuff in the trac/login location. I would like to add this to the project documentation but since I do not know where exactly put I make a ticket with my config.
paurullan@silverymoon:repositori/configuracions/trac % cat mod_python.conf
<Location /trac>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/www/trac
PythonOption TracUriRoot /trac
PythonDebug off
</Location>
<Location /trac/login>
AuthType Basic
AuthName "Trac"
AuthUserFile /var/www/trac/conf/htpasswd
Require valid-user
Order allow,deny
Allow from all
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/www/trac
PythonOption TracUriRoot /trac
PythonDebug off
</Location>
Attachments (2)
Change History (3)
by , 18 years ago
| Attachment: | mod_python.conf added |
|---|
by , 18 years ago
| Attachment: | mod_python.2.conf added |
|---|
Example of mod_python.conf with anonymous+loged users
comment:1 by , 18 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
i guess everybody will be happy if you adjust the doc on trac.edgewall.org.
Note:
See TracTickets
for help on using tickets.



Example of mod_python.conf with anonymous