Thanks ... I caught the "/login" as I was going through it again and was
able to get to the admin console ... but the other updates haven't made a
difference ...
<VirtualHost *:80>
<Location /bob>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
#PythonPath "sys.path + ['/var/trac/netconf']"
PythonOption TracEnv /var/trac/netconf
#PythonOption TracEnvParentDir /var/trac/netconf
PythonOption TracUriRoot /bob
# PythonOption TracEnvIndexTemplate
/var/local/trac/templates/index-template.html
PythonOption TracLocale en_US.UTF8
PythonOption PYTHON_EGG_CACHE /tmp
Require all granted
</Location>
<Location /bob/login>
AuthType Basic
AuthName "Netconf"
AuthUserFile /var/trac/netconf/.htpasswd
Require valid-user
</Location>
</VirtualHost>
> I'm guessing CentOS 7 has Apache 2.4. If that's the case, you'll need to
> modify the Apache configuration to use the "Require all granted" directive
> rather than "Order allow, deny; Allow from all". I've updated the
> documentation for Apache 2.4 to show this:
> http://trac.edgewall.org/wiki/TracModPython?action=diff&version=170
>
> Second, I think you should look at the paths in your Location directives.
> If you are accessing the Trac instance at http://domain.com/bob, then the
> second directive should be <Location /bob/login>. Alternatively you could
> change the first Location directive to <Location />, if you are accessing
> Trac at http://domain.com/
>
> You don't need to specify both TracEnvParentDir and TracEnvDir. If you are
> running a single Trac project you can just use the latter.
>
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.