Welcome Guest, Not a member yet? Register   Sign In
.htaccess problem with ci
#1

[eluser]immi[/eluser]
Hi

I am new to CI and i just made a site www.bollywood-hits.com my .htaccess file is following

RewriteEngine on
RewriteCond $1 !^(index\.php|admin|js|ext|test|pictures|images|robots\.txt|css)
RewriteRule ^(.*)$ /index.php?/$1 [L]


why i try to load http://www.bollywood-hits.com/admin it appears but it doesnt work like
http://www.bollywood-hits.com/admin/login i dont know how to set? admin folder is having another CI in which i made admin panel. that CI doesnt has any .htaccess file


Please help

Thank You
#2

[eluser]Atik[/eluser]
How Can u track that it is a .htaccess problem
"No input file specified"
#3

[eluser]petebouch[/eluser]
I'm also having problems with the same .htaccess code (with fewer exclusions) and I'm only running one installation of CI

http://andalucia-villas.co.uk/dev/

please see my post: http://ellislab.com/forums/viewthread/115130/#864550
#4

[eluser]petebouch[/eluser]
OK, fixed this myself, my development site is in a subfolder called /dev/ so all I needed to change was the last line in my original .htaccess file.

I just have to remember to change this back on deployment :-)

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt)
RewriteRule ^(.*)$ /dev/index.php?/$1 [L]




Theme © iAndrew 2016 - Forum software by © MyBB