0

enter image description herehttp://kohanaframework.org/3.0/guide/kohana/tutorials/clean-urls

following this tutorial, i managed to remove index.php from the url. I edited the "base_url" in bootstrap.php and the edited the .htaccess according to the tutorial. But now, I'm having a problem. my pages now can't load any of my css and js files included.

The picture there shows what happened.

Alex Coroza
  • 1,747
  • 3
  • 23
  • 39

1 Answers1

1

Make your assets folder public. Do not store inside the application directory.

mobal
  • 342
  • 2
  • 10
  • I'm new to this .htaccess thing. Somebody helped me on facebook and I just removed a line in my .htaccess file and its ok now – Alex Coroza Sep 24 '14 at 02:55
  • Actually he offered me two options and the other one is to put my assets outside the application folder. But the other solution is easier. – Alex Coroza Sep 24 '14 at 02:59
  • Exactly which was the line you removed? It is better to move your assets outside the application directroy. – mobal Sep 24 '14 at 09:10
  • # RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L] – Alex Coroza Sep 25 '14 at 03:45
  • yeah I think it is better to move the assets outside, because when i removed that particular line, I am now able to browse the kohana system files and others. – Alex Coroza Sep 25 '14 at 03:47