Re: Please explain: index.php/index/index
| From: | Török Alpár | Date: | Wed, 21 Jan 2009 09:02:55 +0000 |
| Subject: | Re: Please explain: index.php/index/index | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286905@lists.php.net to get a copy of this message | ||
2009/1/21 leledumbo <leledumbo_cool@yahoo.co.id>
>
>
>
> Carlos Medina-2 wrote:
> >
> > this is a Front Controller situation (Pattern)
> >
> Could you explain more on that? I've never seen anything like this in any
> tutorial I've found on the net. I'm using Kohana framework. So, if I have
> index.php/index/index where does it actually go?
it goes to index.php , apache disregards what's after index.php Kohana the
reads that string, and loads the appropriate Controller / method. You can
hide the index.php from your users via apaches mod_rewrite. Refere to the
Kohana or Codeigniter doccumentation
>
> --
> View this message in context:
>
> http://www.nabble.com/Please-explain%3A-index.php-index-index-tp21578728p21579231.html
> Sent from the PHP - General mailing list archive at Nabble.com.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Torok, Alpar Istvan