Forum

October CMS

Pierre
1 December 2014, 13:07
Hello guys,

again me and again on rewrite rules. This time I am not able to get October CMS running properly.
This is the link to the provided .htaccess file from October CMS: https://github.com/octobercms/october/blob/master/.htaccess
I already searched the forum and could not find any topic related to October CMS and I tried a lot on myself already. Seems I am not completely confident with generating rewrite rules for Hiawatha. Sorry for that.

Thanks in advance!

Hiawatha version: 9.7
Operating System: openSUSE 13.1
Hugo Leisink
1 December 2014, 22:27
UrlToolkit {
ToolkitID = october
Match /themes/.*/(layouts|pages|partials)/.*.htm Rewrite /index.php
Match /uploads/protected/.* Rewrite /index.php
RequestURI file Return
Match .* Rewrite /index.php
}
Pierre
2 December 2014, 08:30
You are the best. Thanks so much.

Only one thing. With 'RequestURI file Return' Hiawatha refuses to load. If I comment that line out everything works fine so far.

What is RequestURI file Return supposed to be good for?
Hugo Leisink
2 December 2014, 08:37
That should have been "RequestURI isfile Return". What it does, see the manpage.
Pierre
2 December 2014, 10:17
Now everything works like a charme. Thanks again for your help! And I looked it up. Thanks for that advice as well.

Last Point: Maybe you could add that as well to chapter 9 of the HOWTOs?!
This topic has been closed.