After 2 hours now I couldn't get it right.
The Kohana installation is accessible directly under my domain, i.e. "http://something.org/"
Instead of http://something.org/index.php/welcomde/index I want to have URLs like http://something.org/welcome/index
My .htaccess is messed up completely. It's actually the standard example.htaccess that came with the download. It's almost useless. On the kohana page is a tutorial "how to remove the index.php". It's really useless as well, since it will not even talk about how to remove it. Totally confusing.
Please, can someone provide his working .htaccess for a standard kohana installation?
My htaccess looks like the example.
RewriteEngine On
RewriteBase /
RewriteRule ^(application|modules|system) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
But you also have to change the config.php file to:
$config['index_page'] = '';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With