Re: Comments with different URLs

Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]> Sat, 23 Feb 2008 03:00:31 -0800 (PST)
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
hi steve! sorry for the delay.

On Tue, 19 Feb 2008, Steve Clark wrote:

> I've had comments.py on my site for a while, but don't get too many comments.
> I wonder if that could be partly due to an issue someone noticed this week.
> My site can be accessed with and without the www, i.e. as www.xxx.net or just
> as xxx.net. The base URL in config.py uses the former. If I try to post a
> comment when I reach the site without www then nothing happens.

hmm, that does seem pretty conclusive. which version of comments.py is this?

i noticed that your form's action attribute is absolute, not relative, ie it 
has the full domain:

   <form method="post" action="http://www.bagofspoons.net/cgi-bin/pyblosxom.cgi/News/20080217updates" accept-charset="UTF-8" ...

does it help if you change it to relative, ie just /cgi-bin/pyblosxom...?


> One of these days I will sort out getting mod_rewrite to lose the
> cgi-bin/pyblosxom.cgi/ part of my URLs. Would that affect comments?

no, it shouldn't.

-Ryan

--
http://snarfed.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/