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

[eluser]vindhyareddy[/eluser]
Hey pickupman

So now u have put the CI folder and the property folder in www
And CI has your code and property has the .htaccess file.

Is that right?

Also, how are you telling your CI folder to access this .htaccess?

My file structure is as follows:
C:/wamp/www/devit
devit has
- application
- system
- index.php
- license.txt
- README.markdown

I am developing a RESTful web services API.

So now how do I write the rule in the .htaccess file?

I need to access :
http://localhost/devit/index.php/users/user/id/1
as
http://localhost/devit/users/user/id/1

Here, devit is my folder in www.
users is my controller name
user is my function
and id is parameter name with value 1


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