Access to IPB folder |
[eluser]Leo78[/eluser]
Hey, I have the website which is built on the Codeigniter. After I uploaded & install IPB (forum) I don't have access, because the htaccess file I guess or I don't know. the url of the forum is http://www.domain.com/forum/. What should I write in the htaccess file to check it first before the Codeigniter procedure? I tried this but it doesn't work well (because it's not really solution..): Code: RewriteRule ^forum/(.*)/$ forum/index.php?/$1 [L]
[eluser]PhilTem[/eluser]
Be sure to set you RewriteBase correctly and according to your folder structure. Have a .htaccess in your webroot? Try Code: RewriteBase / Have a .htaccess in the forum-folder? Try Code: RewriteBase /forum/
[eluser]CroNiX[/eluser]
Use an htaccess that ignores real files/directories. Code: RewriteEngine On And If the request is not an existing (d)irectory Process the request with CI's index.php, else process (the existing file/directory) normally
[eluser]Leo78[/eluser]
First of all thank you for your helping guys. @PhilTem - It exists, but doesn't affect anyway. @CroNiX - I have already used it, the problem is that for example the following address: Code: http://www.domain.com/forum/user/1-flank/ By the way, The main page of the forum is working - Code: http://www.domain.com/forum/ |
Welcome Guest, Not a member yet? Register Sign In |