Welcome Guest, Not a member yet? Register   Sign In
Remove index.php file
#4

[eluser]Arun Joshi[/eluser]
I am using wamp server with Apache/2.2.4 (Win32) PHP/5.2.4 configuration.

now my CI sample site working from
Code:
http://localhost/CodeIgniter/index.php/decode
.
I need change it into
Code:
http://localhost/CodeIgniter/decode

I followed instructions from
Code:
http://codeigniter.com/wiki/mod_rewrite/
. But it does not work.

Now when I access page 'http://localhost/CodeIgniter/decode', it will display my wamp server default localhost home page. But browser url shows 'http://localhost/CodeIgniter/decode'.

When I copy these directory info into my .htaccess,

Code:
<Directory "/some/absolute/path/htdocs">
...
Options FollowSymLinks
AllowOverride FileInfo
...  
</Directory>

I am getting '500 internal server error'. Then I tried the following code in .htaccess file.
Code:
<Directory "/some/absolute/path/htdocs">
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>

But it still showing '500 internal server error' error.
Actually what should be the <Directory "/some/absolute/path/htdocs"> path for me?
Does my .htaccess file in its right place?




I have created the .htaccess file in my codeigniter folder.(outside system folder). Does my .htaccess file location is correct?
my physical path is
Code:
E:\wamp\www\CodeIgniter
.

Thanks,


Messages In This Thread
Remove index.php file - by El Forum - 05-04-2009, 07:12 AM
Remove index.php file - by El Forum - 05-04-2009, 08:29 AM
Remove index.php file - by El Forum - 05-04-2009, 08:57 AM
Remove index.php file - by El Forum - 05-07-2009, 08:14 AM
Remove index.php file - by El Forum - 05-07-2009, 08:19 AM
Remove index.php file - by El Forum - 05-07-2009, 08:30 AM
Remove index.php file - by El Forum - 05-07-2009, 05:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB