![]() |
Htaccess that is not working... - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Htaccess that is not working... (/showthread.php?tid=13733) |
Htaccess that is not working... - El Forum - 12-03-2008 [eluser]Rubiz'[/eluser] Hello all! I'm trying to have access to this page http://sandbox.neoreader.com.br/google254b42e34114b586.html since 10am; now is 4:20pm and no results... how can I show my page successfuly? My htaccess that is not working: Code: <IfModule mod_rewrite.c> Htaccess that is not working... - El Forum - 12-03-2008 [eluser]Rey Philip Regis[/eluser] Create a .htaccess file same heirarchy with the system. Then place this code DirectoryIndex index.php RewriteEngine on RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ ./index.php/$1 [L,QSA] Edit the config.php and look for the $config['index_page'] and leave it blank. Good day. Htaccess that is not working... - El Forum - 12-03-2008 [eluser]Rubiz'[/eluser] It's right like that? Code: <IfModule mod_rewrite.c> Htaccess that is not working... - El Forum - 12-03-2008 [eluser]Rubiz'[/eluser] It doenst work. I have copied/pasted teh code and empty the index config u told... Nothing works... Htaccess that is not working... - El Forum - 12-03-2008 [eluser]Rey Philip Regis[/eluser] Hey sorry for the late reply, I slept for 2 hrs hehe....By the way is your CI running when you when you run http://your_host/application_name/index.php/controller_name When it is running we'll move on to step 2. Htaccess that is not working... - El Forum - 12-03-2008 [eluser]narkaT[/eluser] RewriteBase is very usefull if your CI-installation is in a subdirectory. is your apache configured to accept the .htaccess? basically you should find any information about solving the problem on this page ![]() Htaccess that is not working... - El Forum - 12-04-2008 [eluser]Rubiz'[/eluser] Thank you guys, my app starts with appfolder (called neoreader), than it has a folder called codeigniter where the system folder is installed. It has access to htaccess, but it was made by other programmer that wrote the first htaccess too. I have solved the problem other way, now Google is veryfing my page. Now, lets wonder next app steps wont be difficult :-P Thanx! |