Hello,
I was just trying to use the TracDjangoAuth plugin, looks nice. I am
new to Trac
though, got the Trac 0.11b2 going, but am missing something to get
this
plugin working. Or maybe I am missing a basic step with activating
authentication.
I am getting some log information in log/trac.log which is good. I am
wondering if I should be seeing stuff there other than this related to
that plugin?
2008-04-24 20:23:38,167 Trac[loader] DEBUG: Loading plugin /Users/
foobar/sites/m
ultimedia/trac/env/plugins/TracDjangoAuth-0.1-py2.5.egg
I noticed some stuff in your djangoauth.process_request() :
def process_request(self, req):
req.send_response(200)
req.send_header('Content-Type', 'text/plain')
req.end_headers()
req.write('DjangoAuth is enabled!\n')
I thought I might see the string 'DjangoAuth...' somewhere if I have
it working correctly?
Also, in my apache config i have :
<Location /trac>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /Users/foobar/sites/multimedia/trac/env
PythonOption TracUriRoot /trac
SetEnv PYTHON_EGG_CACHE /Users/foobar/sites/multimedia/trac/env/
eggcache
PythonPath
"['/Users/foobar/lib/python','/Users/foobar/sites/multimedia/apps']
+sys.path"
SetEnv DJANGO_SETTINGS_MODULE journalism_mm.settings
</Location>
I added the last two lines thinking that was the kicker and restarted
but no luck or clues.
The only other thing I have done is play with trac-admin, like:
trac-admin permissions remove anonymous *
trac-admin permissions add authenticated WIKI_VIEW
But still I get the same 403/Forbidden error.
Is there some step I am missing? Do I need to setup Auth Basic in my
apache config even though I won't be using http-auth?
Thanks for any help,
--
Milan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---