Re: How to get comments.py work?
Joseph Reagle <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | MIT |
| Message-ID | <[email protected]> |
On Thursday 14 August 2003 02:57, Wari Wahab wrote:
> Where is the config.py sitting? It should be where ./blog is (same with
> trackback.cgi if you used that)
config.py is in:
/home/reagle/data/2web/reagle.org/joseph/pyblosxom/web/
(whatever "web" means), but I have no problem importing it:
"""
sys.path.append('/home/reagle/data/2web/reagle.org/joseph/pyblosxom')
sys.path.append('/home/reagle/data/2web/reagle.org/joseph/pyblosxom/web')
# Uncomment this if something goes wrong (for debugging)
#import cgitb; cgitb.enable()
# Settings are now in config.py, you should disable access to it by htaccess
# (make it executable or deny access)
import config
"""
If I move it, doesn't make any difference in any case.
> > You must supply the title, url, and some content for the body. Does
> > that make a difference?
I'm not sure to what you refer. (I'm using the default comment flavours.) In
the comment form, if I type an e-mail, URL, and Comment, it accepts it. If
I also give it a Name -- for some weird reason -- I get an Apache error.
You can try it yourself at:
http://reagle.org/joseph/blog/test/one
In any case, I'm probably going to go offline today while I move, and maybe
by the time I get back on-line, 0.8-final will be out and my problems will
dissapear. <smile/>
-------------------------------------------------------
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