Welcome Guest, Not a member yet? Register   Sign In
Setup Netbeans & Xdebug for debugging CodeIgniter with Firefox [in under 15 minutes!] - Mac OSX
#7

[eluser]Paul Hernández[/eluser]
Hi guys, thanks for this incredible post

I just have one doubt regarding the .htaccess file

I created this file with the following content:

Code:
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1  
</IfModule>
The problem is the Urls don't work because when I use the form_open method it prints form_action = "mysite.com/index.php?controller_name/controller_method" and the "?" should be a "/"

Any comment will be appreciated

Regards

[Edit]
Ok, the form helper function "form_open" generate a form action URL with "?" when the uri protocol is PATH_AUTO. When I'm debugging I have to generate the forms with html code instead of the form_open function, in this way I can set the form_action url that I want. It does not related with the .htaccess file.


Messages In This Thread
Setup Netbeans & Xdebug for debugging CodeIgniter with Firefox [in under 15 minutes!] - Mac OSX - by El Forum - 04-04-2011, 12:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB