php - Laravel not found CSS and JS file after deploy -


i deploy project shared hosting , controllers, models etc works great have problem css , js file becouse have 404 errors files. on xampp server style , script files works great. in opinion opinion may problem .htaccess file don't know how can change in file. .htaccess file:

<ifmodule mod_rewrite.c>    <ifmodule mod_negotiation.c>        options -multiviews    </ifmodule>     rewriteengine on     # redirect trailing slashes...    rewriterule ^(.*)/$ /$1 [l,r=301]     # main domain    rewritecond %{http_host} ^(www\.)?mypage\.com$ [nc]    rewritecond %{https} on [or]    rewritecond %{http_host} ^www\. [nc]    rewriterule ^ http://mypage.com%{request_uri} [r=301,l,ne]    # handle front controller...    rewritecond %{request_filename} !-d    rewritecond %{request_filename} !-f    rewriterule ^ index.php [l] </ifmodule> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -