> I believe the standard approach is to use Weblog#expand_path in such an
> instance, e.g.:
> 
>         # Redirect
>         link = @weblog.output_entry_map[entry_id]
>         app.setup_redirection( 302, @weblog.expand_path( link[:page].link ) )
>         
> I've committed this to trunk; could you please svn up and give it a try?

Mental, thanks for steering me straight.  The updated source works.  I
noted, however, that line 7 of share/default-blog.apache-cgi.patch seems
to have reverted. It needs to be as follows for comments to work at all:

RewriteCond %{REQUEST_FILENAME} !-f
     
Also, for someone using hobix as I described earlier in this thread,
there are two other places, both in lib/hobix/comments.rb, that similar
problems will arise.

At line 64: 

<form id="userComment" method="post" action="/control/comment/<%=
entry_id %>">

and at line 72:

onClick="new Ajax.Request('/control/preview', ...........

Thanks again.

-- 
Bradford R. Bowman
<[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to