[Moin-user] Permissions problem
Gisbert Amm
gia at webde.de
Thu Feb 23 09:03:03 EST 2006
Nothing suspicious.
If you face no problems when you run /usr/bin/python then I'm afraid I
run out of ideas.
Anyone else?
Regards,
Gisbert Amm
Andre Meyer wrote:
>
> On 2/23/06, *Gisbert Amm* <gia at webde.de <mailto:gia at webde.de>> wrote:
>
> How does your moin.cgi look like?
>
>
>
>
>
> #!/usr/bin/python
> # -*- coding: iso-8859-1 -*-
> """
> MoinMoin - CGI Driver Script
>
> @copyright: 2000-2005 by Jürgen Hermann < jh at web.de <mailto:jh at web.de>>
> @license: GNU GPL, see COPYING for details.
> """
>
> # System path configuration
>
> import sys
>
> # Path of the directory where wikiconfig.py is located.
> # YOU NEED TO CHANGE THIS TO MATCH YOUR SETUP.
> sys.path.insert(0, '/usr/local/var/moin/diwiki')
>
> # Path to MoinMoin package, needed if you installed with --prefix=PREFIX
> # or if you did not use setup.py.
> ## sys.path.insert(0, 'PREFIX/lib/python2.3/site-packages')
>
> # Path of the directory where farmconfig.py is located (if different).
> ## sys.path.insert(0, '/path/to/farmconfig')
>
>
> # This is used to profile MoinMoin (default disabled)
> hotshotProfiler = 0
>
> # ---------------------------------------------------------------------
>
> if hotshotProfiler:
> import hotshot
> prof = hotshot.Profile("moin.prof")
> prof.start ()
>
> from MoinMoin.request import RequestCGI
> request = RequestCGI()
> request.run()
>
> if hotshotProfiler:
> prof.close()
More information about the Moin-user
mailing list