Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vandyczech's avatar

Problem with use Laravel in production

I want run Laravel from server where hosting my website. The problem is that Laravel doesn't work. I don't know, where place the Laravel framework correctly. The file .htaccess wrote message:

options -Multi Views is not allowed

When I delete this rule from .htaccess, I can't see anything

Options:

document root : /www/astrophytum.cz/astrophytum.cz
version : php 5.6.16
support : open ssl, pdo, mbstring, tokenizer
0 likes
1 reply
bobbybouwmann's avatar
Level 88

You only need to place this in your .htaccess file, it should be enough

<ifModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule (.*) public/$1 [L]
</ifModule>

Please or to participate in this conversation.