This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

zlatiborac
zlatiborac

WebFaction has an interesting way of installing Laravel and when you manage once to do install after that is pretty easy. The main problem is that by default PHP installation is 5.2 on my server. I can upgrade it to 5.6 but main problem then is that I can not use let say "php artisan..." but "php56 artisan...". If you know this any installation based on Laravel is simple. But with OctoberCMS I have problem with .htaccess file. To make Laravel's .htaccess work I need to put handler on top of the code like this Action php56-cgi /php56.cgi <FilesMatch \.php$> SetHandler php56-cgi </FilesMatch> and after this if I try to enter OctoberCMS I receive Server Error 500. After some time of trials and errors I've decided to remove the whole part below <IfModule mod_rewrite.c> that OctoberCMS ships with and put Laravel generic .htaccess code. After this OctoberCMS started working like a charm. Looking at OctoberCMS .htaccess I see there are a lot of blacklisted and white listed folders so I am asking for advice on how to get them back in .htaccess and not get Server Error again.

bigbanks8022270
bigbanks8022270

Hello zlatiborac,

I know this does not answer your question, but honestly, you should not have had to do any of what you did to get October CMS installed on your system. Laravel and October CMS are two different web applications and taking a server configuration file from one and using it for another is not good. Just my two cents.

zlatiborac
zlatiborac

Yes I know I shouldn't have but that was the only way to make it work. That was the reason for starting this thread.

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.