Welcome Guest, Not a member yet? Register   Sign In
Custom URL rewriting
#1

[eluser]shankar ganesh[/eluser]
In my .htaccess file it contains below lines,

Code:
Options +FollowSymLinks
RewriteEngine On

RewriteRule ^/rewrite$ http://wwa.jumpwebservice.com/ARG/system/application/controllers/testing/rewrite.php

In codeignitor,when i try to access the file rewrite.php using the below URL its not working.
http://wwa.jumpwebservice.com/ARG/system...ng/rewrite

how to access "rewrite.php" by giving "/rewrite" in URL and how to modify it in htaccess.
#2

[eluser]Dennis Rasmussen[/eluser]
Have you tried this?
http://ellislab.com/codeigniter/user-gui...uting.html
#3

[eluser]shankar ganesh[/eluser]
The below lines are used in .htaccess, its working fine.


Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteRule ^ARG/system/application/controllers/testing/rewrite$ ARG/system/application/controllers/testing/rewrite.php [NC]




Theme © iAndrew 2016 - Forum software by © MyBB