Welcome Guest, Not a member yet? Register   Sign In
Tutorial about creating templates within MY_Controller
#5

(01-09-2015, 02:11 PM)ivantcholakov Wrote: @Avenier

http://avenir.ro/codeigniter-tutorials/r...ndly-urls/

I am not good about mod_rewrite, I just want to write something I know.


Code:
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
On PHP CGI and FastCGI implementations this will show 'No Input File Specified' error.

There is a workaround, it works on all the hosts I have:

Code:
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

A brief article:
http://biostall.com/resolving-the-codeig...fied-error

Thank you. I will introduce this info into my tutorial. It is good to know.
Reply


Messages In This Thread
RE: Tutorial about creating templates within MY_Controller - by Avenirer - 01-10-2015, 01:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB