Problems with uris Laravel 5

1

Galera, I still have a chorus here with Laravel's addresses. In my environment it works fine, when I upload to my web environment (kinghost - shared), it sucks. Use PHP 5.6 and Laravel 5.0

What happens is:

My css files in the web environment do not load! I need to point the direct path href="public/css/..." src="public/js/..." In my local environment this is not accurate. My routes I had to change also the paths: So it works in the web environment: Route::get('/nova', 'InstituicaoController@nova'); So on the spot (which is what I expected for the web): Route::get('/instituicao/nova', 'InstituicaoController@nova');

My Web Framework:

-public_html
    --foo
    --foo2
    --instituicao
        ---app em Laravel
        ---pasta public do laravel

On recommendation of the hosting, I changed the file name server.php to index.php and so Laravel ran. I tried to put {!! HTML::style('css/app.css') !!} not rolled. I added "laravel/framework": "5.0.*" to composer.json, within "require":{ but also did not roll.

Boy .. could anyone help me? Thank you in advance!

    
asked by anonymous 09.08.2017 / 21:44

0 answers