Welcome Guest, Not a member yet? Register   Sign In
problem with the htaccess file and the access of the function in the main controller
#2

[eluser]abhinavp[/eluser]
Following is the default layout of .htaccess file in codeigniter:
Code:
RewriteEngine on

RewriteBase /yoursitename/
# if you installed facebook in a subdir use something like below and remove the line above
#
# RewriteBase /subdirectory/

RewriteRule ^admin/$ index.php/admin/login/
RewriteRule ^admin$ index.php/admin/login/

RewriteCond $1 !^(index\.php|images/|js/|css/)
RewriteRule ^(.*)$ index.php/$1

Options -Indexes

Replace "yoursitename" with your project folder.


Messages In This Thread
problem with the htaccess file and the access of the function in the main controller - by El Forum - 06-20-2012, 06:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB