Search code examples
phpcsslaravel-4http-status-code-404netbeans-8

Laravel 4 VS Netbeans CSS getting 404


I have installed Laravel 4 On win-8.1 with the instructions from the Laravel Documentaion and I'm developing using Netbeans-8.
I have placed the CSS folder under the public folder as many suggested that here as this:
Laravel/public/css/style.css.
And trying to call the css file in the master layout like this (again as was suggested here):

<head>
    {{ HTML::style('css/style.css'); }}
</head>


But still getting 404. What am I doing wrong??


Solution

  • So I found what the problem was.

    In the Netbeans configuration for the Project I had To the Select the public folder as the "Web root" and not the Laravel folder.

    @RoyalBg & @chCheckeredMichael Thanks for your Help! I learnt a thing or two from your comments.