Welcome Guest, Not a member yet? Register   Sign In
how ill show the CI app in subfolder?

Hi, i need to upload the CI app because i need to show the app to my customer, but i want to know how ill show the CI APP in subfolder like" http://www.domain.com/app" ?


[eluser]Nathan Moore[/eluser]
Simply place all the CI files in the subfolder and proceed like normal.

Code Igniter does not absolutely need to be run in the web root.

I hope that helps.

ok.. but i hav a litter problem

I hav 2 domains and 1 hosting where the domain for the CI app is redirect to the another domain/subfolder

the second domains is "masked" and if u write http://www.second_domain/ all is fine dont redirect to the first domain/subfolder...

now the question is:
in the config file how ill put the base_url?, http://www.first_domain/sub_folder/ciAPP? or http://www.second_domain/ciAPP? <- here i want the CI app

i dont know if i was clear...


now im trying to install in


but i got the 404 not found pages


[eluser]Nathan Moore[/eluser]
If you wrote some apache redirects in the .htaccess file, you could use the http://www.second_domain/ciAPP as your base_url.

Essentially, you would just be redirecting and pulling content from the actual location of the CI app.

not, im not wrote nothing to redirect im new with CI, my hosting is a godaddy, but in the wiki i found some tips about its, i hav just this .htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?$1 [L]

Now i try to access the website from the normal domain and i got the 404 not found Sad

now is going Big Grin

thanks Smile

just a follow the WIKI Smile

Theme © iAndrew 2016 - Forum software by © MyBB