Page 1 of 1

500 Server Error Help

Posted: Thu Dec 02, 2021 12:54 am
by luckydead21
Hello,
I have uploaded my cms system in my website hosting but when i open the website it shows 500 Internal Server Error
and i think it comes from this .htaccess file

Code: Select all

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^ ^$1 [N]

    RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
    RewriteRule ^(.*)$ public/$1 

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ server.php
php_value max_input_vars 2000


</IfModule>
This is the information inside of it i had checked in phpinfo of hosting i have max_input_vars 5000 by default.
what maybe is the problem here if i delete all lines website it loads

Re: 500 Server Error Help

Posted: Thu Dec 02, 2021 11:08 am
by Benjamin
It's probably the "php_value max_input_vars 2000" line. Remove that.