codeigniter configuration for vps server |
i have installed and configured the codeigniter in the local machine with the .htaccess file as like this
PHP Code: <IfModule mod_rewrite.c> I purchased the vps server 192.3.104.172 and in that i copied all the files as i am having in the local machine and it is not working properly 192.3.104.172 instead i need to use 192.3.104.172/index.php/login now it is working fine in this url. please help me what i need to modify and also in the config.php i changed the value $config['base_url'] = 'http://192.3.104.172/';
Is the folder "btcxchnage" your root folder online? If not you have to remove it
PHP Code: <IfModule mod_rewrite.c> And your setting for $config['base_url'] should then be emtpy.
sir i have attached the root file structure sir. please check and tell your suggestion sir.
i have added the file http://clip2net.com/s/3cV5v5G see this image sir but still it not working sir
contents of .htaccess : http://c2n.me/3cV5zNJ
Sir now it working fine.. now i am getting new error file not found please help me.. i cleared cookie and history now fine.
Did you try using the RewriteRule that you have commented out, the one with the ? in it instead of the one above it?
CroNix,
No i have the put this as .htaccess. I am new to this configuration settings so please help me sir. http://c2n.me/3cZZagT please see this image sir.
I can't copy paste from an image...
Add a ? right after index.php, so it looks like index.php?/$1 in the RewriteRule that DOESN'T start with a # at the beginning of the line. So it looks like the line right under it.
Rufnex
have posted in this.. Please tell from that sir or add entire code sir please |
Welcome Guest, Not a member yet? Register Sign In |