Welcome Guest, Not a member yet? Register   Sign In
Adding local external app
#1

[eluser]jrock2004[/eluser]
I am sorry that I could not think of a better post title. I just started using ci and I love it. On my site I have an update folder that holds a totally different site. How would I do this? htaccess file? I want the user to go to domain.com/update. On old site it would come up, but with ci I am getting an error cause it is thinking that update is a controller. Thanks.
#2

[eluser]skunkbad[/eluser]
Yes, .htaccess. You will want to tell the server that requests going to that sub-directory should not be sent through index.php.

Something like this:

Code:
RewriteCond %{REQUEST_FILENAME} !^update [NC]
RewriteRule .* index.php/$0 [PT,L]
#3

[eluser]jrock2004[/eluser]
Tried, that and it breaking my site
#4

[eluser]jrock2004[/eluser]
Ok, after doing a google search I figured out how to do this. Thanks Lab Tech for getting me in the right direction

Code:
RewriteCond %{REQUEST_FILENAME} ^update [NC]
RewriteRule .* index.php/$0 [PT,L]




Theme © iAndrew 2016 - Forum software by © MyBB