Welcome Guest, Not a member yet? Register   Sign In
Configuring CI in a subfolder of an existing php website
#1

[eluser]Unknown[/eluser]
Hi All,

I'm a little new to all this and

I have developed some kind of administration panel in CI. Now i wanted to implement this system on an existing website in a subfolder called '/admin'

Is there someone who can explain me how i can configure it this way?

Thanks a lot in advanced
#2

[eluser]xwero[/eluser]
Just place CI in the admin directory and use .htaccess to remove the index.php and you are set to go.
#3

[eluser]Unknown[/eluser]
Hi xwero, thanks for your swift reply, but i dont quite understand you. Is there also a way to do it without the htaccess file?(/admin/index.php/.../...) .. I want to have the rest of the website functional without the redirects.

thanks
#4

[eluser]xwero[/eluser]
yes but then you have to live with the admin/index.php/controller/method/args style of urls.

But if you put the .htaccess file in the admin directory is will only affect it and it's subdirectories.




Theme © iAndrew 2016 - Forum software by © MyBB