Re: PYTHONPATH

Wari Wahab <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <1059708827.3491.15.camel@minisync>
On Fri, 2003-08-01 at 05:00, David Solomonoff wrote:
> Could you explain in more detail how to set up the PYTHONPATH variable
> when you do not have root access? Do any of the config files have to be 
> changed as well?

Hmm, I guess you really can't change PYTHONPATH if you don't own the
webserver at all, or don't have root. This is only feasable if you run a
server as a normal user and you have set PYTHONPATH at first before
running that webserver.

The only thing to do, if you're not root, is to edit pyblosxom.cgi
(and/or xmlrpc.cgi):

import sys
sys.path.append('/path/to/pyblosxom')

So if pyblosxom got installed in:
/home/foo/stuff/Pyblosxom
then your append string would look like 
sys.path.append('/home/foo/stuff')


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.