Hi,
First let me say to chris, earl and any/everyone else who has
contributed to vanilla, nice going!
Vanilla is a very interesting an useful piece of work. I don't know
if I'll ever be able to keep things in order though, the wiki part
can really allow so much diversity that it can be hard to find
things. So far I've been trying to keep my content strictly with
du-jour until I learn more and modify the look a bit more.
this is my second go-around with Vanilla 0.6.2 -- this time I am
spending more time trying things and learning how a blog and wiki
work. I'm one of the rare few (?) who have never done much writing
that wasn't in emails, never used a blog or even knew what one
really was until a few months ago.. :)
Anyhow, I had some problems on my FBSD server with the standard
httpd.conf / htaccess suggestions + mods for /exec/ and ended up
with the following to get things working.
RewriteEngine on
RewriteRule ^/$ /space/start [R,L]
RewriteRule ^/space/(.*)$ /exec/www?selector=display&snip=$1 [PT]
ScriptAlias /exec/ /home/john/domains/blog.example/public_html/cgi-bin/
All seemed well until I began to make comments on my [today?] entry.
I forget if I had the error when making my first comment or not,
since they get posted anyhow I may have just shrugged it off.
Since I was making more comments on the same du-jour entry, and
still got errors I found a patter after a little while. From the
/space/start page:
SNIP -> LINK -> ERROR
<form method="POST" action="
http://blog.example/exec/www">
<input type="hidden" name="selector" value="display">
<input type="hidden" name="snip" size="40" value="2006-10-13">
<textarea name="comment-content" rows="8" cols="40" wrap="virtual"></textarea>
<input type="submit" name="comment-create" value="Add!"></form>
Not Found
The requested URL /exec//space/2006-10-13 was not found on this server.
SNIP -> COMMENT (TOP FORM) -> OKAY
<form method="POST" action="
http://blog.example/exec/www">
<input type="hidden" name="selector" value="display">
<input type="hidden" name="snip" size = "40" value = "comment-new-do">
<input type="hidden" name="comment-for-snip" value = "2006-10-13">
<textarea name="comment-content" rows="8" cols="40" wrap="virtual"></textarea>
<input type="submit" value="Add!"></form>
SNIP -> COMMENT (BOTTOM FORM) -> ERROR
<form method="POST" action="
http://blog.example/exec/www">
<input type="hidden" name="selector" value="display">
<input type="hidden" name="snip" size="40" value="comments-2006-10-13">
<textarea name="comment-content" rows="8" cols="40" wrap="virtual"></textarea>
<input type="submit" name="comment-create" value="Add!"></form>
Not Found
The requested URL /exec//space/2006-10-13 was not found on this server.
After a little poking around I found in the dj2.comments.r file the
line:
http-redir rejoin [ vanilla-base-url vanilla-display-url s ]
The suggested values from vanillasite.at for:
vanilla-base-url : "
http://blog.example/exec/"
vanilla-display-url : "/space/"
..clearly it seems rejoining these is based on some 'other' settings
recommendation. ;)
Anyhow, didn't think there was a more suitable 'base' variable set
to use so I simply modified it as such:
http-redir rejoin [ "
http://blog.example" vanilla-display-url s ]
I've not run wildfire on all the files to see if maybe I'll run into
problems elsewhere, but all that was not working is now working.
I'm not well versed in REBOL and am just getting my feet wet with
how Vanilla works, does anyone think this little mod will break
something elsewhere?
I also wanted to ask if anyone knows of work on vanilla so that it
provides enhanced SEO? I've messed around a little with sniptags
but I have yet to figure out how to produce anything. It's not real
clear to me just how to implement some of the dynasnips.
I tried making a TAGPAGE snip and editing it's content to be
{!sniptags.tags} but none of my snip tags from my du-jour pages are
showing, figure I must not be doing it correctly.
Final, question for now.. What happens to [today?] entries? Will
the start snip just grow forever or does it cycle monthly into an
archived state? .. or do I need to do something manually?
--
John