From: J4 <ju...@kl...> - 2011-01-12 10:20:45
|
Dear Janet, Many thanks for getting back to me. When I click on the permalink to the entry this URL is formed: http://www.test.com/blog.shtml/2010/11/15#121110 The directory structure os this root@serv31:/www/test.com/www/blosxom# find . ./2007 ./2007/03092007.txt ./2007/20052007.txt ./2008 ./2008/03092007.txt ./2010 ./2010/PB_20101114.jpg ./2010/peterbilitch.jpg ./2010/121110.txt ./head.html ./2005 ./2005/b3.txt ./2005/b1.txt ./2005/b5.txt ./2005/b4.txt ./2005/b6.txt ./2005/b2.txt ./2009 ./2009/expoflyer.jpg ./2009/090909.txt ./2006 ./2006/upraveFeb2006_055.jpg ./2006/upraveFeb2006_051.jpg ./2006/.30122006.txt.swp ./2006/22052006.txt ./2006/30122006.txt ./2006/loewen.03092006.jpg ./2006/11082006.txt ./2006/20102006.txt ./2006/230606.txt ./2006/200206.txt ./2006/040606.txt ./2006/upraveFeb2006_017.jpg ./2006/upraveFeb2006_054.jpg ./2006/13052006.txt ./2006/220206.txt ./2006/010206.txt ./2006/inmemorian_rodrigo.jpg ./foot.html ./plugins ./plugins/state Where did you specify your format? <a href="$url$path/$fn.$flavour" title="how to find this again">permalink</a> Best wishes, Jay. On 01/12/2011 07:40 AM, Janet Jackson wrote: > I set up a site (www.proximitypoetry.com > <http://www.proximitypoetry.com>) with blosxom last year and permalinks > work fine for me. I use path-based, not date-based, permalinks, but I > seem to remember date-based ones worked when I was testing. Perhaps if > you posted that part of your story.<flavour> or date.<flavour> we could > see what's going wrong. > > Mine looks like > > <a href="$url$path/$fn.$flavour" title="how to find this > again">permalink</a> > > I'm not doing static rendering though -- maybe that's causing trouble. > > As far as I recall (without actually looking at the code, mind you!) you > can't have a URL for the $datadir. > > I hope this is of some use, at least in helping you think about it. I am > by no means a guru on blosxom but thought I should at least offer you > some support. This is a very quiet list -- I think a lot of people have > moved on to other CMSs. > > Janet > > On 11 January 2011 18:57, J4 <ju...@kl... > <mailto:ju...@kl...>> wrote: > > Dear people, > > I have used Blosxom on my website since 2004. However I never > managed to get the permalink to work. Since I have moved my site to > my own server, I and have full access, I would like to mend this. > Typically the error message is a > 404: The requested URL /blog.shtml/2010/11/15 was not found on this > server. > The configurable portion of the CGI is below. > > One additional question : Is it possible to use the a external > address for the $data_dir in the .cgi script instead of the real path: > $datadir = "http://test.com/www/blosxom"; > verses > $datadir = "/www/test.com/www/blosxom <http://test.com/www/blosxom>"; > > > Best wishes, J. > > > The cgi contains this: > # --- Configurable variables ----- > > # What's this blog's title? > $blog_title = "test"; > > # What's this blog's description (for outgoing RSS feed)? > $blog_description = "a blog"; > > # What's this blog's primary language (for outgoing RSS feed)? > $blog_language = "en"; > > # Where are this blog's entries kept? > $datadir = "/www/test.com/www/blosxom <http://test.com/www/blosxom>"; > > # What's my preferred base URL for this blog (leave blank for > automatic)? > $url = ""; > > # Should I stick only to the datadir for items or travel down the > # directory hierarchy looking for items? If so, to what depth? > # 0 = infinite depth (aka grab everything), 1 = datadir only, n = n > levels down > $depth = 0; > > # How many entries should I show on the home page? > $num_entries = 40; > > # What file extension signifies a blosxom entry? > $file_extension = "txt"; > > # What is the default flavour? > $default_flavour = "html"; > > # Should I show entries from the future (i.e. dated after now)? > $show_future_entries = 0; > > # --- Plugins (Optional) ----- > > # Where are my plugins kept? > $plugin_dir = ""; > > # Where should my modules keep their state information? > $plugin_state_dir = "$plugin_dir/state"; > > # --- Static Rendering ----- > > # Where are this blog's static files to be created? > $static_dir = "/www/test.com/www/blosxom_blog_static > <http://test.com/www/blosxom_blog_static>"; > > # What's my administrative password (you must set this for static > rendering)? > $static_password = "123456"; > > # What flavours should I generate statically? > @static_flavours = qw/html rss/; > > # Should I statically generate individual entries? > # 0 = no, 1 = yes > $static_entries = 0; > > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Blosxom-users mailing list > Blo...@li... > <mailto:Blo...@li...> > https://lists.sourceforge.net/lists/listinfo/blosxom-users > > > > > -- > *Janet Jackson: Words with attitude & soul* > Poems, performances, workshops, courses, events > Creative, technical and corporate writing > Editing, manuscript production, self-publishing > > los...@gm... <mailto:los...@gm...> > *www.proximitypoetry.com* <http://www.proximitypoetry.com> > 0406 624 578 (Australia) > +61 406 624 578 (World) > PO Box 258, Darlington WA 6070, Australia > > *Perth Poetry Club*: www.perthpoetryclub.com > <http://www.perthpoetryclub.com> > Breastfeeding info & help: www.breastfeeding.asn.au > <http://www.breastfeeding.asn.au> > |