[SOLVED]newbie problem with xampp and .htaccess |
[eluser]mandril[/eluser]
Hi there, I search the forum before posting this, and I found there are lot's of people with the same problem. My problem is with xampp in windows vista. Ok I have xampp with apache and mysql running and reading this forum I get a .htaccess configuration setting which partially works. My .htaccess file Code: DirectoryIndex index.php well i have my codeigniter installed in c:\xampplite\htdocs\msr\ so i have to access by this URL: http://localhost/msr/index.php and it works! i have my application running. And if I type http://localhost/msr/ it ALSO WORKS! but the problem is with my controllers, i have a controller called: usuario.php and a view for that controller and everything works. BUT.. it works if I access with: http://localhost/msr/index.php/usuario NOT with this URL: http://localhost/msr/usuario as it should work. it redirects me to the xampp starting webpage localhost root. In my config.php file: Code: $config['base_url'] = "http://localhost/msr/"; and: Code: $config['index_page'] = ""; when i use anchor('usuario','link') function it creates a link to http://localhost/msr/usuario and is not working. Help please!!! I tried a lot of .htaccess file configuration from this forum. Im using the latest CI version. |
Messages In This Thread |
[SOLVED]newbie problem with xampp and .htaccess - by El Forum - 01-21-2009, 06:41 PM
[SOLVED]newbie problem with xampp and .htaccess - by El Forum - 01-21-2009, 06:56 PM
|