From: Lee U. <le...@cf...> - 2009-03-06 20:08:17
|
Thanks, Carsten. I had seen that on the Blosxom site but I wanted to be able to differentiate between 404's and others. Steve's idea seems to make sense so I'll try that one first. Lee =========================================== On Fri, 06 Mar 2009 19:02:51 +0100 Carsten Agger <agger@c.dk> wrote: | fre, 06 03 2009 kl. 12:22 -0500, skrev Lee Underwood: | > =========================================== | > On Fri, 06 Mar 2009 08:17:04 +0100 Carsten Agger <agger@c.dk> wrote: | > | > | tor, 05 03 2009 kl. 23:22 -0500, skrev Lee Underwood: | > | > When setting up Blosxom, the instructions state "All of Blosxom's blog entries live in a special folder." Why is that? Why can't I use my root directory as Blosxom's starting folder? | > | > | > | | > | You can, if you want - the blog entry directory is set up in the config | > | file. All you have to do is to change it. | > | | > | | > | > | > Thanks, but I soon realized that somehow the blosxom.cgi file has to be triggered and coming straight to the home page won't do that. | > | > Lee | > | | You can set up Apache, supposing your site is running on an Apache Web | server, to redirect queries for files which don't otherwise exist to | blosxom. | | So, e.g. my own .htaccess looks like this: | | RewriteEngine on | RewriteCond %{REQUEST_FILENAME} !-f | RewriteCond %{REQUEST_FILENAME} !-d | RewriteRule ^(.*)$ index.cgi/$1 [L,QSA] | IndexIgnore * | | (I have renamed blosxom.cgi to index.cgi) | | | Other ways of doing this is described at www.blosxom.com, I believe. | | That way you can have a file "story.txt" in the base dir for your | blosxom stories (not necessarily your root), and the URL | | "http://www.yourdomain.com/story.html" will trigger Blosxom and how your | story. | | Hope that helps | Carsten | | -- | http://www.modspil.dk | | | ------------------------------------------------------------------------------ | Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA | -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise | -Strategies to boost innovation and cut costs with open source participation | -Receive a $600 discount off the registration fee with the source code: SFAD | http://p.sf.net/sfu/XcvMzF8H | _______________________________________________ | Blosxom-users mailing list | Blo...@li... | https://lists.sourceforge.net/lists/listinfo/blosxom-users |