Here is my VirtualHost configuration

<VirtualHost *:80>
    ServerName myproject.host.com
    # We can't use Location / because then /login also gets sent to
mod_python
    <Location />
        SetHandler mod_python
        PythonInterpreter main_interpreter
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnv /var/trac/myproject/
        PythonOption TracUriRoot /
        SetEnv PYTHON_EGG_CACHE /var/trac/.egg-cache/
    </Location>

    <Location /login>
        AuthType Basic
        AuthName "Trac (Subversion) access"
        AuthUserFile /etc/apache2/svn.passwd
        Require valid-user
    </Location>
</VirtualHost>

The problem is that the Login location does not work. Trac' (NOT
mod_python), hijacks everything and sends it to itself. Even setting
SetHandler None in <Location /login> does nothing.

The famous "Authentication information not available" message appears.
Apache never is able to handle the <Location /login>, Trac hijacks it.

Has anybody ever solved this long-standing issue? It seems to be a
problem with Trac, because other mod_python apps like Django use the
SetHandler None solution and it works fine.

Using DocumentRoot does no difference whatsoever.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to