usage with Apache

25 views
Skip to first unread message

Doug

unread,
Mar 26, 2012, 5:04:22 PM3/26/12
to Agilo for Trac
I'm running Apache 2.2.22 with mod_python 3.3.1 on Fedora 16.

When configuring Agilo for Trac and using tracd as the web server,
projects display properly.

When trying to use Apache though the projects only display Trac not
the Agilo plugin.

Here is my Apache configuration:

<VirtualHost *:80>
ServerName internal.test.local

<Location /projects>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /data/trac
PythonOption TracUriRoot /projects
AuthType CAS
require valid-user
</Location>

</VirtualHost>

I have also removed the need for authentication but still get the Trac
only result.

Does the latest version of Agilo not work with Apache?

What could I check to troubleshoot?

If I need to provide more information, please let me know.

Any help appreciated.

Thanks!

Manilal K M

unread,
Mar 27, 2012, 4:42:04 AM3/27/12
to ag...@googlegroups.com
On 27 March 2012 02:34, Doug <wdouglas...@gmail.com> wrote:
>
> What could I check to troubleshoot?

Did you restarted apache after installing agilo?

--
Manilal K M : മണിലാല്‍ കെ എം.
http://libregeek.blogspot.com

Doug

unread,
Mar 27, 2012, 2:10:53 PM3/27/12
to ag...@googlegroups.com
Yes.  I restarted apache.
 
I have finally stumbled onto what appears to be the problem.  Agilo's files get installed under /usr/lib/python2.7/site-packages/agilo-0.9.7-py2.7.egg.
 
I created symbolic links to the 3 directories under this directory in /usr/lib/python2.7/site-packages
 
After doing so that made things work.
 
I really don't know python so I am not sure I understand the reason for this but it does seem to fix the problem.  Is this just a Fedora issue?
 
 

On Tuesday, March 27, 2012 4:42:04 PM UTC+8, Manilal K M wrote:

Doug

unread,
Mar 28, 2012, 2:50:08 AM3/28/12
to ag...@googlegroups.com
I have a little better explanation of what occured in my case.  It is fairly obscure but maybe it might help someone else in the future.
 
The key issued that caused this is I have my umask for the root user set to 006 not the normal 002.  Therefore when I ran python setup.py install, the file permissions were incorrect on the installed files.
 
My solutions was to completedly remove the agilo files, correct my umask and then re-run python setup.py install.
 
After that things worked as expected.
Reply all
Reply to author
Forward
0 new messages