List Info

Thread: Blosxom blog as default page




Blosxom blog as default page
user name
2006-07-04 18:03:33

--- In blosxomyahoogroups.com, "Don Zouras&quot; <dzouras...> wrote:

> If I go here, I see what I expect:
&gt; http://www.icode6.net/cgi-bin/blosxom.cgi
>
> But what I really want is to go here and see the same thing:
&gt; http://www.icode6.net/native_suburbia/
> (You can see the page that I am looking to replace.)

I use mod_rewrite for this, in .htaccess in the root folder of my domain:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteRule ^/?(.*)$ /path/to/blosxom.cgi/$1

Basically, the condition checks to see if the path requested is an
actual file. If so, it lets the request go through. This is for things
like stylesheets, images or static pages. Then the actual rule passes
everything else to blosxom.

Regards,
Anthony

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )