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

[eluser]Asinox[/eluser]
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" ?


Thanks
#2

[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.
#3

[eluser]Asinox[/eluser]
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...

Thanks
#4

[eluser]Asinox[/eluser]
now im trying to install in

http://www.domain.com/subfolder/ci/

but i got the 404 not found pages

Sad
#5

[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.
#6

[eluser]Asinox[/eluser]
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
#7

[eluser]Asinox[/eluser]
ok
now is going Big Grin

thanks Smile

just a follow the WIKI Smile




Theme © iAndrew 2016 - Forum software by © MyBB