Welcome Guest, Not a member yet? Register   Sign In
Install into sub directory
#1

[eluser]Richard Testani[/eluser]
Im building an CI app which is going to be installed into a folder.

/codeigniter/

The reason is, I have a main system already running which uses .htaccess to route everything through its own index.php page.
So after modding it a bit to go to my app properly
Code:
RewriteCond %{REQUEST_URI}      !\/codeigniter.*$

It successfully goes to my app.
I configured the base_url to mysite.com/codeigniter
but I am getting the error:
Code:
Unable to load the requested class: uri

Anyone know what I am missing here to get this running properly?
Thanks
Rich
#2

[eluser]Ben Edmunds[/eluser]
Do you have the forward slash on the end of your base_url?
#3

[eluser]Richard Testani[/eluser]
It does not a trailing slash. Adding one does not fix the issue though.
#4

[eluser]InsiteFX[/eluser]
Did you configure your system and application paths in index.php?

Enjoy
InsiteFX
#5

[eluser]Richard Testani[/eluser]
Aren't the paths created based on their relative location?
I looked in index.php which only sets the application and system paths which seems to need to change only if they are either named differently or not in the default location.




Theme © iAndrew 2016 - Forum software by © MyBB