php - Codeigniter redirect main folders (application, system) -


i build application codeigniter , wondered if possible redirect access major folders such application, system.

currently, message "directory access forbidden." can not go redirect 1 same controller ? not possible have controller named "application"?

i use nginx 1.4.4. thank you.

ok can creating index.php file in folder putting redirection :

<?php /**  * redirect application index controller  */ header('location: ../application/index'); 

it worked me.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -