Hi,
I am trying to migrate an existing installation to a new system.
Previous we were using mod_python, but I am trying to get things working
with mod_wsgi.
If I have a single project things seem to be working as I would expect.
But if I add a second project I can't access it. From looking at the
archives I have just realized my approach with the current config isn't the
best one but I believe it should at least work.
I can access the main repository at / but if I go to /flax I see No handler
matched request to /flax
I would like to understand what I am doing wrong with the current config
before modify it to use a single cgi script. configtest is okay and
nothing is reported in the error log.
Thanks for any help you can offer :)
<VirtualHost *:80>
ServerAdmin <email address>
DocumentRoot /var/www/html
ServerName trac.migr.greenstone.org
ErrorLog logs/trac.greenstone.org-error_log
CustomLog logs/trac.greenstone.org-access_log common
<Directory "/var/www/trac">
Options Indexes FollowSymLinks
AllowOverride None
Allow from all
</Directory>
<Directory "/var/www/trac/projects/*/htdocs">
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/trac/projects/*/cgi-bin>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
<LocationMatch /login$>
AuthType Basic
AuthName "Greenstone Developers"
# Require valid-user
Require group
</LocationMatch>
WSGIScriptAlias / /var/www/trac/projects/greenstone/cgi-bin/trac.wsgi
WSGIScriptAlias /flax/ /var/www/trac/projects/flax/cgi-bin/trac.wsgi
WSGIScriptAlias /greenstone.org/
/var/www/trac/projects/greenstone.org/cgi-bin/trac.wsgi
</VirtualHost>
--
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/groups/opt_out.