Wednesday 15 June 2011

php - Codeigniter Installation Moved -



php - Codeigniter Installation Moved -

i moved codeigniter application subdomain operate under domain.

basically moved from:

https://account.mywebsitehere.com

to:

https://mywebsitehere.com/account

now when seek access /invoices removes /account url , results in not found page. have changed base of operations url in config file still resulting in error.

other going through entire application , changing every link /account/... how can create application work under /account in url?

my .htaccess file located @ public_html/panda/.htaccess follows:

rewriteengine on rewritecond $1 !^(index\.php|robots\.txt|files\/images|files\/css|files\/js|files\/swf|files\/upload) rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php/$1 [l] rewritecond %{server_port} 80 rewriterule ^(.*)$ https://mywebsitehere.com/panda/$1 [r,l]\

just set code in .htaccess file , seek it

rewriteengine on rewritebase /account/ rewritecond %{request_uri} ^system.* rewritecond $1 !^(index\.php|images|js|uploads|css|robots\.txt) rewriterule ^(.*)$ /index.php/$1 [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php/$1 [l]

php codeigniter

No comments:

Post a Comment