php - How to fix 403 code on mainpage in Laravel application? -


i fix problem on website created on laravel 4.2. problem mainpage works fine, unknown reason server return status code 403 instead 200. other pages works code 200. should find solution? maybe there wrong .htaccess files?

/.htaccess

<ifmodule mod_rewrite.c>     rewriteengine on     rewritecond %{https} off     rewriterule ^(.*)$ https://%{http_host}%{request_uri} [l,r=301]      rewritecond %{request_filename} !-d     rewritecond %{request_filename} !-f     rewriterule ^(.*)$ public/$1 [l] </ifmodule> 

/public/.htaccess

<ifmodule mod_rewrite.c>     <ifmodule mod_negotiation.c>         options -multiviews     </ifmodule>      rewriteengine on      # redirect trailing slashes...     rewriterule ^(.*)/$ /$1 [l,r=301]      # handle front controller...     rewritecond %{request_filename} !-d     rewritecond %{request_filename} !-f     rewriterule ^ index.php [l] </ifmodule>  <ifmodule mod_expires.c>     expiresactive on     expiresbytype image/jpg "access 1 month"     expiresbytype image/jpeg "access 1 month"     expiresbytype image/gif "access 1 month"     expiresbytype image/png "access 1 month"     expiresbytype text/css "access 1 day"     expiresbytype text/html "access 1 month"     expiresbytype application/pdf "access 1 month"     expiresbytype text/x-javascript "access 1 day"     expiresbytype application/x-shockwave-flash "access 1 month"     expiresbytype image/x-icon "access 1 year"     expiresdefault "access 3 days" </ifmodule> 


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -