Welcome Guest, Not a member yet? Register   Sign In
problem with mod rewrite
#4

[eluser]vindhyareddy[/eluser]
Hey

Thanks for the replies.

I did the changes as u said to my .htaccess file.

Now my .htaccess is as follows:
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /devit
    
    RewriteCond $1 !^(index\.php|images|robots\.txt)
    RewriteRule ^/devit/(.*)$ /devit/index.php/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
</IfModule>

Whats the mistake ??

When I try
http://localhost/devit/index.php/users/user_info/id/2
I am getting a 404 page not found error

When I try
http://localhost/devit/users/user_info/id/2
I am getting
"Not Found

The requested URL /devit/users/user_info/id/2 was not found on this server.


Messages In This Thread
problem with mod rewrite - by El Forum - 07-20-2010, 03:27 PM
problem with mod rewrite - by El Forum - 07-20-2010, 07:44 PM
problem with mod rewrite - by El Forum - 07-20-2010, 08:08 PM
problem with mod rewrite - by El Forum - 07-21-2010, 08:14 AM
problem with mod rewrite - by El Forum - 07-21-2010, 09:45 AM
problem with mod rewrite - by El Forum - 07-21-2010, 09:59 AM
problem with mod rewrite - by El Forum - 07-21-2010, 10:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB