PLEASE DO NOT CLOSE THIS AS A DUPLICATE ISSUE. PLEASE HELP ME! ITS
PROBABLY SOMETHING TOO SIMPLE, BUT STILL, I HAVEN'T BEEN ABLE TO TRACK
IT DOWN, SO PLEASE BEAR WITH ME.

I do understand there have been a lot of duplicates around this area,
and I am sick and tired of browsing through the instructions time and
again, looking through the issues again and again and haven't found a
solution.

Maybe, the instructions need to be re-written. I can definitely do
that once I find some information on how to get it resolved.

Here's my set up.

Windows XP SP2, Apache 2.2.11, Trac 0.11.2.1, mod_wsgi, BASIC
authentication.

Folder layout: Root: D:/MyTrac TracProject: D:/MyTrac/TracProjects
AccessLogs?: D:/MyTrac/TracLogs/AccessLogs ErrorLogs?: D:/MyTrac/
TracLogs/ErrorLogs WSGIScripts: D:/MyTrac/TracWSGIScripts
PasswordDigests?: D:/MyTrac/TracBasicAuth

When I try to log into my trac installation, I get the most (in)famous
error:

Trac Error

Authentication information not available. Please refer to the
installation documentation.

Please, please help me root out this problem. I've hit my head on this
one for the last 4 days, with no result at all.

My virtual server configuration and the .wsgi that I use are mentioned
below.

My Virtual Server configuration:
<VirtualHost *:80>
        ServerName  localhost
        ServerAlias localhost
        DocumentRoot D:/MyTrac/TracProjects
        CustomLog D:/MyTrac/TracLogs/AccessLogs/MyTracAccessLog.log common
        ErrorLog D:/MyTrac/TracLogs/ErrorLogs/MyTracErrorLog.log
        #WSGIDaemonProcess localhost processes=2 threads=15 display-name=%
{GROUP}
        #WSGIProcessGroup localhost
        <Directory D:/MyTrac/TracProjects>
                Order allow,deny
                Allow from all
        </Directory>
        <Directory D:/MyTrac/TracWSGIScripts>
                Order allow,deny
                Allow from all
        </Directory>
        <Directory D:/MyTrac/TracBasicAuth>
                Order allow,deny
                Allow from all
        </Directory>


        # Link to list out all Trac Projects
        WSGIScriptAlias /TracProjects D:/MyTrac/TracWSGIScripts/
AllProjects.wsgi

        # Settings for MySandbox
        <Location /TracProjects/Sandbox1>
                AuthType Basic
                AuthName "MySandboxAuth"
                AuthUserFile D:\MyTrac\TracProjects\MySandbox\MySandbox.htpasswd
                Require valid-user
        </Location>
        WSGIScriptAlias /TracProjects/MySandbox D:/MyTrac/TracBasicAuth/
MySandbox.wsgi
</VirtualHost>

MySandbox.wsgi:
import sys
sys.stdout = sys.stderr
import os
os.environ['TRAC_ENV_PARENT_DIR'] = 'D:/MyTrac/TracProjects'
os.environ['TRAC_ENV'] = 'D:/Trac/TracProjects/MySandbox'
os.environ['PYTHON_EGG_CACHE'] = 'D:/MyTrac/TracEggCache/MySandbox'
import trac.web.main
application = trac.web.main.dispatch_request

Regards,
Radha.

--~--~---------~--~----~------------~-------~--~----~
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