Recent Topics

1 Dec 09, 2005 23:50    

Hi,

I'm a new b2evo user.
I've creates a new blog. I've specified a specific URL (or exemple Files/user/) for this blog.

The problem is if I access to this blog, I've an error because no files are in this directory.

So, I copied the index.php from the root directory to Files/user but now, I've a blank page.

which files I have to copy to a my blog in this specific directory ?

I use b2evo 1.6-Alpha
on WinXP Pro SP2

Regards,

Totof

2 Dec 10, 2005 04:15

You'll have to setup your Apache/webserver DocumentRoot to the directory "blogs" from the b2evo package.

Then baseurl should be the whole URL (http://localhost/blogs/ for example) to this folder.

Be sure to have PHP installed/enabled on your webserver.

3 Dec 13, 2005 14:31

Hi,

Thanks, but the problem is not in the Apache configuration because if I don't specify a specfic directory all is working well.
I can access to BlogA, blogB and blogAll

Regards,

Totof

4 Dec 13, 2005 17:49

Are you talking about the file manager?

5 Dec 23, 2005 19:11

No.

In my b2evo administation panel, I go to the Tab "Blogs"
Then I click on " Nouveau blog..." (create new blog)

In the new form which appears, there is a filed "URL du répertoire du blog:" (URL for blog Directory).

My problem is when I specify a specific directory here.

If I let the Home Directory (http://mysite/blogs), I have no problem
Bu if I specify a subdirectory (example : http://mysite/blogs/blog1) I have the problem.

Regards

6 Dec 23, 2005 19:49

totof, the problem is that you specify a path/part of the URL there and you do not take any action so that the blog can be found there.

Say, if you put blogs1 there you have to configure your webserver so that it handles this.

Search for "stub files" in this forum for example. You could create a stub file ("blog1") and say to your webserver (though .htaccess for Apache), that you want this file interpreted as PHP. Then it should work.

Another option would be to use Apache's mod_rewrite, e.g.


RewriteEngine On
RewriteRule ^blog1 index.php?blog=3


where 3 would be the ID of your blog.

There are probably even 3 more ways.. ;)


Form is loading...