1 totof Dec 09, 2005 23:50
3 totof 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 blueyed Dec 13, 2005 17:49
Are you talking about the file manager?
5 totof 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 blueyed 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.. ;)
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.