Welcome Guest, Not a member yet? Register   Sign In
Can not rewrite to file using .htaccess ? - error to 404
#1

[eluser]ryantran[/eluser]
Mt structure like this :
- application
- controllers
- log
- login
- mysite

I want to redirect http://mysite/index.php/log/login => mysite/login.html

- I turned on Rewrite Mode
- In my .htaccess :
Code:
Options +FollowSymLinks All -Indexes
RewriteEngine On
RewriteRule ^login.html$ ./index.php/log/login

but, i met 404 error.
I tested by make one file test.php and place it in mysite folder
=> It is ok !
Plz help me congig that url.
Thanks !


Messages In This Thread
Can not rewrite to file using .htaccess ? - error to 404 - by El Forum - 08-07-2011, 02:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB