• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access to IPB folder

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..):

RewriteRule ^forum/(.*)/$ forum/index.php?/$1 [L]

Be sure to set you RewriteBase correctly and according to your folder structure.

Have a .htaccess in your webroot? Try
RewriteBase /

Have a .htaccess in the forum-folder? Try
RewriteBase /forum/

Use an htaccess that ignores real files/directories.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
If the request is not an existing (f)ile
If the request is not an existing (d)irectory
Process the request with CI's index.php, else process (the existing file/directory) normally

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:
There isn't any file / directory with the name user, and of course 1-flank so the condition doesn't affect.

By the way,
The main page of the forum is working -

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.