hello all,
My problem is that when I try to load my trac page thru apache I get a
semgentation fault. Im still just trying to set up trac on this
computer with a brand newly created trac page with nothing in it.
Its a remote virtual machine openSuse 11.1
Im using Xampp and all the programs that come with it.
I installed the -devel pacakge
Im using mod-wsgi 3.3 and it tested good with the hello world script.
but when my script gets to the import trac.web.main line I get my
segment fault.
Can anyone help me
thanks in advance Ian
here is some code
.wsgi file:
#!/usr/bin/python
#def application(environ, start_response):
# start_response('200 OK',[('Content-type','text/html')])
# return ['<html><body>Hello World!</body></html>']
import site
site.addsitedir('/usr/local/lib/python2.6/site-packages')
import os
os.environ['TRAC_ENV'] = '/projects/trac'
os.environ['PYTHON_EGG_CACHE'] = '/projects/trac/.egg-cache'
import trac.web.main
application = trac.web.main.dispatch_request
httpd.conf:
LoadModule wsgi_module modules/mod_wsgi.so
.
.
.
###Trac setup
WSGIScriptAlias /projects "/projects/wsgi/hello.wsgi"
#WSGIScriptAlias /projects "/projects/wsgi/cgi-bin/trac.wsgi"
<Directory "/projects/wsgi">
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
--
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.