Recent Topics

1 Nov 10, 2010 16:32    

My b2evolution Version: Not Entered
[url=http://poker-ft.forumactif.info/t10-faire-des-benefices#11/]poker-ft[/url]

My second request in my quest to "get-functionality-like-Blogger.com" series:
[url=http://saloonpm.goodforum.net/t143-faire-des-benefices#579/]goodforum[/url]

Request #2: Automatically create clean (as in "Cool URIs don't Change") URLs (in b2evo's case, without the index.php)
[url=http://salevepoker.1fr1.net/t11-en-outre-le-joueur-de#11/]salevepoker[/url]

I've been paging and paging and paging through all the "remove index.php" suggestions on these forusm. They all require manually-setup points every time a new author/blog is added for me: 1) hard-coded names of the blogs in apache directives, and 2) create "stub" files. Yikes! I can't scale with that--I'm constantly adding/fixing Apache directives and stubs every time someone comes into my organization...and this will be a lot of people. I have to be everything in my organization, and I want to minimize IT tasks, not have to remember, and most importantly: not *mess them up* by forgetting the procedure each time I have do it! Wink
[url=http://swisspoker.forums-actifs.com/t54-faire-des-benefices#154/]swisspoker[/url]

Possible solution:

1) auto-create a "Static File" (as per the "Static File" column in /blogs/admin/b2blogs.php in 9.0.11) *every* time a blog is created instead of forcing the [url=http://online-poker2008.forumchti.com/t7-faire-des-benefices#7/]online-poker2008[/url]
to create one manually via a mouse click. (Other then required write file-system permissions, Why not do this all the time?) Presumably this is a simple change to a core file(??).

2) Change the core (I'm running b2evo v 0.9.0.11) to no longer generate "index.php" in any of its blog-reference URLs; just take the "index.php" string completely out? I've been looking at _class_blog.php, and if I'm reading things correctly (alas, I'm only peering into a _fraction_ of the code), this may be feasible? Big gain: NO APACHE REWRITES! NO HARD-CODED APACHE RULES FOR BLOG NAMES!

[url=http://qcpoker.team-forum.net/t7-faire-des-benefices#7/]team-forum[/url]

3) Enable Apache MultiViews (which imho is far and away the SIMPLEST way to eliminate file-extension names in URLs--not sure why it's not refernced here for the Apache settings?) so that .html/.php/whatever extensions are now a thing of the past.

This way, an admin creates a blog named "ABCD", and immediately after this blog-create operation, http://example.com/blogs/ABCD is available.

Am I missing anything?

The above, in combination with my "Blogger-like #1 (auto-create-the-weblog) gets this:

** User signs up as imanewblogger1
** Immediately said user has this blog site available with complete admin rights to their account only: http://example.com/blogs/imanewblogger1

Am I over simplifying this? If so, is there another way (maybe a modification of these presentations, maybe not) to do this?

Note: this assumes I have root access (and httpd.conf control) on my server, which I do. Of course, this may not be for everybody

2 Nov 10, 2010 17:08

Wow, 0.9.x is pretty damn old, even I'd suggest you upgrade!

Set blog url's to absolute and use a catchall to /index.php in htaccess ... assuming "set blog urls to absolute" is a setting in your version

¥


Form is loading...