Welcome Guest, Not a member yet? Register   Sign In
Tank Auth problem when using .htaccess mod rewrite
#1

[eluser]Unknown[/eluser]
Hi,

I have successfully tried out TankAuth on my site. But when I added the .htaccess file suggested in the wiki to clean up the URLs I can no longer login.

The problem seems to be the form submission part. If I look with Firebug at the generated code the form submission looks like this:

Code:
<form accept-charset="utf-8" method="post" action="http://www.mysite.com/auth/login">

But submission works fine if I, with Firebug, change this to:
Code:
<form accept-charset="utf-8" method="post" action="http://www.mysite.com/index.php/auth/login">

I guess that something is wrong. But since I am a complete noob when it comes to CI I would appreciate any hints. Is the problem the .htaccess, my config.php file, tank auth code or maybe how CI generates the form submission code?




Theme © iAndrew 2016 - Forum software by © MyBB